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.

C++ (programming language) – class members<br />

C++ (programming language) (continued)<br />

unmanaged, 6, 11<br />

using namespace statement, 25<br />

Cab Projects, 412<br />

CAB size (project property), 416<br />

CalcHash(), 969, 970<br />

CalcTax(), 302<br />

Calculator property, 751, 764<br />

CalculatorContract, 754<br />

CalculatorContract/ICalculatorExtension.cs, 754<br />

CalculatorExtension, 742<br />

CalculatorUtils/ExportAttribute.cs, 762<br />

CalculatorUtils/ISpeedCapabilities.cs, 762<br />

Calendar control, 995, 1161, 1172–1174<br />

callbacks, asynchronous, 494–495, 534<br />

calling base versions of functions, 93<br />

calling constructors from other constructors, 77–78<br />

CallingConvention, 724<br />

CallSite, 299, 300<br />

CallSiteBinder, 299, 300<br />

camel casing, 61<br />

cameras (3-D with WPF), 1030, 1032<br />

Cancel(), 290<br />

CancelEdit(), 837, 839<br />

cancellation framework, 290–291, 507–510<br />

CancellationSamples/Program.cs, 508, 510<br />

CancellationToken, 290, 291, 507, 508, 509<br />

CanGoBackChanged(), 650<br />

CanGoForwardChanged(), 650<br />

CanH<strong>and</strong>lePowerEvent, 675<br />

CanH<strong>and</strong>leSessionChangeEvent, 675<br />

CanPauseAndContinue, 675, 685<br />

CanShutdown, 685<br />

CanStop, 685<br />

Canvas panel, 1000–1001, 1005<br />

captures (regular expressions), 223–224<br />

CarDealer, 200, 201, 202, 203, 204<br />

CardSpace, Windows, 404<br />

carriage return (escape sequence), 35<br />

cascading style sheets. See CSS<br />

case sensitivity<br />

<strong>C#</strong>, 61, 73<br />

format strings <strong>and</strong>, 52<br />

identifiers <strong>and</strong>, 58<br />

IL, 9<br />

Visual Basic.<strong>NET</strong> <strong>and</strong>, 61, 62<br />

casing schemes, 60–61<br />

cast operator [( )], 152, 172<br />

casting, 172<br />

base classes to derived classes, 177–178<br />

boxing <strong>and</strong>, 108, 111, 161, 178–179<br />

classes to other classes, 176–178<br />

Currency to float, 173–174<br />

Currency to ulong, 180<br />

danger of, 159<br />

explicit, 159–161, 172–173<br />

float to Currency, 175–176<br />

float to long, 179<br />

float to uint, 175<br />

generics <strong>and</strong>, 113<br />

implicit, 158–159<br />

multiple, 179–182<br />

nullable types, 159, 160–161<br />

pointers to integer types, 320–321<br />

pointers to other pointers, 321<br />

QueryInterface() <strong>and</strong>, 698<br />

type safety <strong>and</strong>, 157<br />

types, 158–161<br />

uint to float, 174<br />

unboxing <strong>and</strong>, 108, 111, 161, 178–179<br />

user-defined, 172–182<br />

Cast‹TResult›, 276<br />

catalogs (MEF), 748, 749, 767–769<br />

CatalogZone, 1211<br />

catch blocks, 353–354, 355–359<br />

catching<br />

exceptions, 353–359<br />

user-defined exceptions, 363–364<br />

Categories table, 843, 857, 858<br />

Category class, 886, 887, 894<br />

CategoryCount, 479<br />

CategoryResourceFile, 479<br />

CCOMDemo, 705<br />

CCW (COM callable wrapper), 713, 716, 718, 719, 726<br />

Certificate Manager, 568<br />

certificates, 567–568<br />

Certificates MMC snap-in, 568<br />

change information, 881–882<br />

ChangePassword, 1204<br />

ChangeRejectedException, 751<br />

ChannelFactory, 1297, 1304, 1305, 1307, 1383<br />

Chaos (isolation level), 625<br />

char (data type), 35<br />

character escape sequences, 35, 221, 318<br />

CharSet, 724<br />

Chart control, 1163<br />

check boxes (dialog box), 424<br />

CheckBox control, 1126, 1160<br />

CheckBoxList, 1160<br />

CheckBoxRadioButton, 995<br />

CheckedListBox, 1127–1128<br />

checked/unchecked operators, 152, 154–155<br />

Circle(), 145<br />

clashes, variable scope, 29–31<br />

class hierarchy<br />

exceptions, 352, 353<br />

Windows Forms, 1122<br />

WPF, 985–986<br />

class ID. See CLSID<br />

Class Library (project type), 379, 380, 387<br />

class members, 66<br />

1424<br />

www.it-ebooks.info

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

Saved successfully!

Ooh no, something went wrong!