+ 1
Methods passing values c#
What makes passing by value and reference different.. it seems like the same concept to me.. please help
1 ответ
+ 4
Passing by value :
The variable is given to the method. The method cannot change the value.
Passing by reference :
The variable is given to the method and can be changed by the method
https://code.sololearn.com/cq2e7YyYbh87/?ref=app