What is the purpose of return statement in C# programs
<p>What is the purpose of a return statement. </p>

<p><em>Example</em>:</p>

<pre><code>Class Sample 
{
    public static int Main()
    {
      System.Console.WriteLine("Hello World");
      return 0;
    } 
}
</code></pre>

<p>In the above program what actually is being returned. Is it returning integer value 0 ? Does this help in the flow of program execution</p>

<p>(This might be a stupid question, but I am eager to know.) </p>
