15.02.2015 Views

C# 4 and .NET 4

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

adventureWorkslT sample application – arrays<br />

AdventureWorksLT sample application, 927<br />

AES (Advanced Encryption St<strong>and</strong>ard), 554, 557<br />

AesCryptoServiceProvider, 554, 557, 558<br />

Aggregate(), 276, 286<br />

aggregate operators (query operator category), 276,<br />

286–287<br />

Aggregate template, 966<br />

AggregateCatalog, 768<br />

aggregates, 964–965<br />

built-in, 964–965<br />

user-defined, 964–967, 980<br />

Ajax, 1218–1221. See also ASP.<strong>NET</strong> AJAX<br />

alert (escape sequence), 35<br />

Alice/Bob/Eve (encryption example), 553<br />

All (quantifier operator), 276<br />

‘all or nothing’ characteristic, of transactions, 605<br />

AllowDirectoryBrowsing, 418<br />

AllowPartiallyTrustedCallers, 565<br />

AllowReadAccess, 418<br />

AllowRecomposition, 763, 767<br />

AllowScriptSourceAccess, 418<br />

AllowWriteAccess, 418<br />

AltDirectorySeparatorChar, 775<br />

‹AlternatingItemTemplate›, 1177<br />

ambient transactions, 618–624, 635<br />

multithreading with, 621–624<br />

nested scopes with, 620–621<br />

AnalyzeType(), 343, 344<br />

Ancestors(), 293<br />

anchor to blocks, 1083–1084<br />

AnchoredBlock, 1083<br />

And(), 258, 259<br />

AnimationDemo/ButtonAnimationWindow.xaml, 1022<br />

AnimationDemo/EllipseWindow.xaml, 1021, 1023<br />

AnimationDemo/EventTriggerWindow.xaml, 1025<br />

AnimationDemo/KeyFrameWindow.xaml, 1026<br />

animations (WPF), 1020–1029<br />

elements of, 1020<br />

event triggers, 1020, 1023–1025<br />

keyframe, 1025–1026<br />

non-linear, 1023<br />

Timeline, 1020–1023<br />

Visual State Manager <strong>and</strong>, 1026–1029<br />

anonymous functions. See anonymous methods;<br />

Lambda expressions<br />

anonymous methods, 196<br />

delegates with, 196–197<br />

dynamic programming (<strong>C#</strong>) <strong>and</strong>, 295<br />

anonymous types, 79<br />

AnonymousMethods/Program.cs, 196–197<br />

AnotherButtonStyle, 1004<br />

Any (quantifier operator), 276<br />

apartment models. See MTAs; STAs<br />

APIs<br />

reading/writing XAML <strong>and</strong>, 744<br />

S<strong>and</strong>box API, 562, 565–566<br />

Windows API Code Pack, 1397–1398, 1402, 1407,<br />

1408, 1410, 1415<br />

AppDomain class, 441, 442, 444<br />

AppDomainHost/Program.cs, 566<br />

AppearanceEditorPart, 1211<br />

AppendFormat(), 211, 212, 214, 215<br />

AppendOnly, 876<br />

application (ASP.<strong>NET</strong>), 1181. See also web applications<br />

application cache (ClickOnce files), 421<br />

Application class<br />

ASP.<strong>NET</strong> AJAX Library, 1237<br />

System.Windows.Forms, 1118–1119<br />

WPF, 986<br />

application configuration (ASP.<strong>NET</strong>), 1181–1182<br />

application deployment. See deployment<br />

application domains, 11–13<br />

assemblies <strong>and</strong>, 441–444<br />

CLR <strong>and</strong>, 956<br />

virtual memory <strong>and</strong>, 12–13<br />

application manifest, 419, 420–421<br />

Application object, 1181<br />

application recovery (Restart Manager), 1398–1403<br />

Application Recovery <strong>and</strong> Restart (ARR), 1398<br />

Application.init, 1237<br />

Application.load, 1237<br />

ApplicationProtection, 418<br />

ApplicationRestartRecoveryManager, 1402, 1403<br />

application-to-application e-mail communication,<br />

1358. See also Message Queuing<br />

Application.unload, 1238<br />

ApplyPropertyChanges(), 873<br />

AppMappings, 418<br />

AppServices/SampleRoleProvider.cs, 550<br />

AppServices/web.config, 551<br />

AppSupport, 409–410<br />

App.xaml, 595, 1005, 1013, 1098<br />

ArcSegment, 989<br />

ArgsExample.cs, 49<br />

ArgumentException, 244, 246, 352, 353, 362<br />

ArgumentNullException, 353<br />

arguments, workflows <strong>and</strong>, 1322–1323<br />

arithmetic, on pointers, 322–323<br />

arithmetic operators, 151<br />

ARR (Application Recovery <strong>and</strong> Restart), 1398<br />

Array class, 129, 134–139, 149<br />

array covariance, 139<br />

array initializers, 130, 132, 133, 228<br />

Array.Copy(), 136, 228<br />

ArrayList, 108, 225, 228, 230, 264, 265, 288<br />

arrays, 129–140<br />

bit, 258–260<br />

copying, 135–136<br />

creating, 134–135<br />

DataGridView control <strong>and</strong>, 1130–1131<br />

1419<br />

www.it-ebooks.info

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!