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. Let me remind you that out parameters must be initialized by the called method before exiting it. Now look at the following code snippet and … Continue reading Should We Initialize an Out Parameter Before a Method Returns?