c#.net function
<pre><code>namespace csfunction
{
    class Program
    {
        static void Main(string[] args)
        {
            public int AddNumbers(int number1, int number2)
            {
                int result = AddNumbers(10, 5);
                Console.WriteLine(result);    
            }
        }
    } 
}
</code></pre>

<p>is my code...am getting error like.....Error Type or namespace definition, or end-of-file expected<br>
..hw can i over come this error</p>
