Blog Archives

Keyword out and code examples in C#

Both keyword ref and keyword out in C# change the behavior of called method parameters. The difference is that the parameter passed as ref must be initialized before passing to the method. Parameter passed with keyword out in C# needs

Posted in c-sharp-code-examples Tagged with: ,