24
1
using System;
2
3
class Program
4
{
5
//entry point
6
static void Main()
7
{
8
Console.WriteLine("This is the entry point");
9
Main(10);
10
}
11
12
//overload Main method
13
static void Main(int a)
14
{
15
Console.WriteLine(a);
16
Main(10, 20);
17
}
18
19
//overload Main method
20
static void Main(int a, int b)
21
{
22
Console.WriteLine("{0}, {1}",a, b);
23
}
24
}
Cached Result