Frage im Vorstellungsgespräch bei Vagaro

What is difference between out and ref parameters?

Antwort im Vorstellungsgespräch

Anonym

19. Sep. 2023

When an argument is passed as a ref, it must be initialized before it can be passed to the method. An out parameter, on the other hand, need not to be initialized before passing to a method.