03.01.2015 Views

C# 5.0 Programmer's Reference

Visual Studio 2013 C# 5.0 Programmer's Reference

Visual Studio 2013 C# 5.0 Programmer's Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

#endif directive – exception classes<br />

random number generation, 603<br />

RSACryptoServiceProvider class, 614–619<br />

RSADecrypt, 616–617<br />

RSAEncrypt method, 616<br />

symmetric key, 602<br />

#endif directive, 33–34<br />

EndInvoke method, 140–141<br />

end-of-line comments, 43–44<br />

#endregion directive, 35–36<br />

Ensures method, 211<br />

enumerated types<br />

formatting, 811–812<br />

variable declaration, 739–740<br />

enumerated values, 156–157<br />

enumerations, 88–92<br />

enumerators, 163–164<br />

enabling, 161<br />

EnumMember attribute, 754<br />

environment variables, 394<br />

setting, 394–395<br />

equality between objects, 113–115<br />

#error directive, 34<br />

error handling, 205, 761–762<br />

escape sequences, 71, 470–471<br />

character escapes, 471–472, 835<br />

evaluating operators, 108–109<br />

event statement, 290–291<br />

EventHandler delegate type, 292–293<br />

EventInfo class, 870–871<br />

AddEventHandler method, 871<br />

AddMethod property, 870<br />

Attributes property, 870<br />

EventHandlerType property, 870<br />

GetAddMethod method, 871<br />

GetRaiseMethod method, 871<br />

GetRemoveMethod method, 871<br />

RaiseMethod property, 870<br />

RemoveEventHandler method, 871<br />

RemoveMethod property, 870<br />

events, 246–247, 775–776<br />

accessors, 297<br />

catching, 292<br />

Click events, 290<br />

custom, 297–298<br />

declaring, 290–291<br />

delegate types, 292–295<br />

DispatcherUnhandledException,<br />

217–218<br />

hiding, 296<br />

overriding, 296<br />

PrintDocument class, 360–361<br />

raising, 292<br />

parent class, 296–297<br />

static, 296<br />

ThreadException, 216–217<br />

UnhandledException, 219–220<br />

Except function, 767<br />

Except set method (LINQ), 182<br />

exception classes<br />

AmbiguousMatchException, 799<br />

ArgumentException, 799<br />

ArgumentNullException, 799<br />

ArgumentOutOfRangeException, 799<br />

ArithmeticException, 799<br />

ArrayTypeMismatchException, 799<br />

ConfigurationException, 799<br />

ConstraintException, 799<br />

custom, 802<br />

DataException, 799<br />

DirectoryNotFoundException, 800<br />

DivideByZeroException, 800<br />

DuplicateNameException, 800<br />

EndOfStreamException, 800<br />

EvaluateException, 800<br />

FieldAccessException, 800<br />

FileLoadException, 800<br />

FileNotFoundException, 800<br />

FormatException, 800<br />

IndexOutOfRangeException, 800<br />

InternalBufferOverflowException, 800<br />

InvalidCastException, 800<br />

InvalidOperationException, 800<br />

IOException, 800<br />

MemberAccessException, 800<br />

889<br />

www.it-ebooks.info

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

Saved successfully!

Ooh no, something went wrong!