What is the difference between ref and out parameters.


=> An argument passed as ref must be initialized before passing to the method whereas out parameter needs not to be initialized before passing to a method.

Share

& Comment

0 comments:

Post a Comment

 

Copyright © 2019 HART™ is a registered trademark.