+ 2

What is the purpose of the 'ref' keyword for arguments in C#? the explanation was not so clear

4th Oct 2016, 10:07 AM
Shahar Levy
Shahar Levy - avatar
3 Answers
+ 3
Ref keyword is used for reference parameters
13th Oct 2016, 8:31 PM
Maduekwe Ebuka Collins
Maduekwe Ebuka Collins - avatar
+ 2
see ,if u wants your input variable to change its value in after that function is executed then use ref (call by reference)
7th Oct 2016, 9:25 AM
Paras Barnwal
Paras Barnwal - avatar
0
reference variable
10th Oct 2016, 4:11 PM
kasthuri nallathambi
kasthuri nallathambi - avatar