Blog RegisterLogin
Menu
 
Hosted by Webhost4life
Tags: IT , Blog , C#
Blog
<<  CQS patterns & articles  |  Home  |  Sharepoint – what’s wrong ?  >>

Feb 1

Written by: Tomasz Modelski
2010-02-01 15:44:30Z 

Ref tells the compiler that the object is initialized before entering the function, while out tells the compiler that the object will be intialized inside the function.

So while ref is two-ways, out is out-only.

http://stackoverflow.com/questions/388464/c-whats-the-difference-between-the-ref-and-out-keywords/388467#388467
http://stackoverflow.com/questions/388464/c-whats-the-difference-between-the-ref-and-out-keywords

Tags:

Your name:
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment   Cancel 
 
Related content
 
Search_Blog
 
Blog Tags
 
Blog_Archive
 
Related