1
Reply

What is the difference between “out” and “ref” parameters in C#?

Prakash Kumar

Prakash Kumar

8y
525
0
Reply

    out” parameter can be passed to a method and it need not be initialized where as “ref” parameter has to be initialized before it is used.