Knowledge Transfer

Friday, October 26, 2007

Function Members,Output,Reference parameters,reference Type,Varible,storage Location in C#.Net

Function member :
A function member is a method, property, event, indexer, user-defined operator, instance constructor, static constructor, or destructor.

Output parameter :
A parameter very similar to a reference parameter, but with different definite assignment rules.
Reference parameter (pass-by-reference semantics) :

A parameter which shares the storage location of the variable used in the function member invocation. As they share the same storage location, they always have the same value (so changing the parameter value changes the invocation variable value).

Reference type :

Type where the value of a variable/expression of that type is a reference to an object rather than the object itself.

Storage location :
A portion of memory holding the value of a variable.

Value parameter (the default semantics, which are pass-by-value) :
A value parameter that has its own storage location, and thus its own value. The initial value is the value of the expression used in the function member invocation.

Value type :

Type where the value of a variable/expression of that type is the object data itself.

Variable :

Name associated with a storage location and type. (Usually a single variable is associated with a storage location. The exceptions are for reference and output parameters.)

Happy Programming,

Ref Site : http://www.developerfusion.co.uk/show/4697/4/

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]



<< Home