what is ref parameter

Posted by Tushar under C# on 2/15/2009 | Views : 1091 | Status : [Member] | Replies : 1
why is reference parameter use in function




Responses

Posted by: Raja on: 2/15/2009 [Member] Starter

Up
0
Down
The ref keyword causes arguments to be passed by reference. The effect is that any changes to the parameter in the method will be reflected in that variable when control passes back to the calling method.

For more details, visit

http://msdn.microsoft.com/en-us/library/14akc2c7.aspx

http://msdn.microsoft.com/en-us/vcsharp/aa336814.aspx


Regards,
Raja, USA

Tushar, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response