0
What is difference between ref and out keywords?
anybody help me clearly please
1 Odpowiedź
0
ref must be initialized before passing it to function/ method. However, inside function it may or may not be changed.
out need is not initialized before passing it to function. However, it must be assigned some value inside function.