Skip Navigation
C# (CSharp) @lemmy.ml SourceCode @lemmy.ml

Should We Initialize an Out Parameter Before a Method Returns?

www.viva64.com Should we initialize an out parameter before a method returns?

Surely every C# developer has used out-parameters. It seems that everything is extremely simple and clear with them. But is it really so? For a kickoff, let′s start with a self-test task.

Should we initialize an out parameter before a method returns?

Surely every C# developer has used out-parameters. It seems that everything is extremely simple and clear with them. But is it really so? For a kickoff, let's start with a self-test task.

0
0 comments