in C Sharp by

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

► Click here to show 1 Answer

0 votes
“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.
Learn More with Madanswer

Related questions

0 votes
asked May 6, 2020 in C Sharp by SakshiSharma