0 votes
in C Sharp by (13.1k points)

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

1 Answer

0 votes
by (23.1k points)
“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.

Related questions

+1 vote
...