Tuesday, 7 May 2013

difference between ref & out parameters?


8.       What is the difference between ref & out parameters?
An argument passed as ref must be initialized before passing to the method whereas out parameter needs not to be initialized before passing to a method.

No comments:

Post a Comment