Learning C# 3.0

   
readonly

A field modifier specifying that a field can be assigned only once, in either its declaration or its containing type's constructor.

ref

A parameter modifier that specifies that the parameter is passed by reference and is assigned before being passed to the method.

return

A jump statement that exits a method, specifying a return value when the method is nonvoid.

   

Категории