• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in C Sharp by
Q:

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

1 Answer

0 votes
by
“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

0 votes
asked May 6, 2020 in C Sharp by SakshiSharma
0 votes
asked Oct 18, 2019 in C Sharp by Robin
...