13.07.2015 Views

C# Language Specification - Willy .Net

C# Language Specification - Willy .Net

C# Language Specification - Willy .Net

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

<strong>C#</strong> LANGUAGE SPECIFICATIONvolatile .....................................................223Type............................................................ 150type expression ....................See expression, typeTypeInitializationExceptionno matching catch clause and ....................304typeof ...................................................123, 150u integer literal suffix .....................................58U integer literal suffix.....................................58uint........................... 17, 91, 92, See also UInt32UInt16 ......................................................72, 91members of ................................................72UInt32 ......................................................72, 91members of ................................................72UInt64 ......................................................73, 91members of ................................................73ul integer literal suffix ....................................58uL integer literal suffix ...................................58Ul integer literal suffix....................................58UL integer literal suffix ..................................58ulong ........................ 17, 91, 92, See also UInt64unboxing.................................................. 22, 96unchecked......................................................92constant expression and.............................176explicit numeric conversion and ................116integer addition and .................................. 159integer division and .................................. 157integer subtraction and .............................. 161multiplication and ..................................... 156operator ...................................................151shift operations and...................................163statement............................................ 30, 197unchecked operator versus .....................197unary minus and .......................................154#undef ...........................................................64applying to undefined name.........................65Unicode ....................................................18, 51char type and..............................................92string type and............................................95Unicode standard.......................................... 3, 5unsafe.................................................... 26, 317unsafe code .........................................8, 26, 317stack allocation and .................................. 331unsafe context ..............................................317ushort ....................... 17, 91, 92, See also UInt16using-directive ........................... 15, 46, 201, 202order of multiple ...............................203, 204permitted location of a ..............................202scope of a.................................................203using-statement ...................................... 31, 198UTF-8 .............................................................3 .......................................................440value ...........................................................124default .....................................................101value type ...............................................90enum member...........................................294Not-a-Number..................................See NaNreference type.............................. See instanceset accessor and...........................35, 241, 252value expression ..........See expression, value, Seeexpression, valuevalue parameters .................See parameter, valueValueType ................................................... 269variable.................................................... 22, 99definitely assigned...............................99, 102exception .................................................195catch without an....................................195fixed ........................................................322initially assigned..................................99, 102initially unassigned.......................99, 102, 103instance.................... 22, 99, See field, instancedefinite assignment and ...................99, 100in a class.................................................99in a struct..............................................100initializer ..............................................259life of an.........................................99, 100470

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

Saved successfully!

Ooh no, something went wrong!