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: