Difference between ref & out parameters
Ref = Reference, when parsed to a method, the method references that original variable and doesnt create another instance. So if you make a change to a var parsed into that method when ref is used, it will affect the calling method out = Out is a little different in that you can return more than one value from a method apart from return statement.
Contributed by:
Guest
Guest user is that user who have done some activity on website without login. Activity contains commenting on any article, uploading an image on website etc.
Resourse address on xpode.com
http://www.xpode.com/Print.aspx?Articleid=175
Click here to go on website
|