Categories

Oct 18, 2019 in C Sharp (C#)
Q:

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

1 Answer

Oct 18, 2019
“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.
Click here to read more about C Sharp
Click here to read more about Insurance

Related questions

Madanswer
May 6 in C Sharp (C#)
Oct 18, 2019 in C Sharp (C#)
Oct 18, 2019 in C Sharp (C#)
...