. ..anyone?
Printable View
. ..anyone?
Out paramaters do not have to be initialized before they are passed in to the function. The function will take care of initializing the variable(s).
so ref rule the out's or no?
ref is the equivalent to ByRef in VB.NET. Its used to pass variables by reference instead of the default by value.
out is the same as ref except that the compiler will allow you to initiallize the variable in the called method instead of prior to it...
This is what I said...:rolleyes:Quote:
out is the same as ref except that the compiler will allow you to initiallize the variable in the called method instead of prior to it...
...actually, this is what you said...:( :DQuote:
Out paramaters do not have to be initialized before they are passed in to the function. The function will take care of initializing the variable(s).
Smart azz....;)
:D