Thursday, May 14, 2009

C# keywords I

ref and out
===========

Use ref if the type instance already exists before entering the function. Use out otherwise. Therefore, ref is in and out.

No comments: