2
Reply

What is the difference between ref and out keywords in Method in C#?

Sachin Kumar

Sachin Kumar

12y
1.5k
0
Reply

    Please refer to the following link to know the differences between REF and OUT Parameters in C#, http://onlydifferencefaqs.blogspot.in/2012/08/difference-between-ref-and-out.html

    out parameter doesn't require any intialization and is the additional output for the function.ref parameter requires intialization and ref parameters data can be modofied.