As far as I understood, the ref is like in/out and out is just out. What I meant is that you can send a value in to a function using a ref parameter but you can't send a value using an out parameter. Out parameter can be used only for returning a value from a function. Also the ref parameters should be initialized before passing to the function.
No comments:
Post a Comment