Hi,
one class should not have multiple entry points.
i have copied your code to console app and its working fine.
class Program1
{
static void Main(string[] args)
{
}
static void Main(string[] args)
{
}
}
above code is wrong will get error as ""Program1' already defines a member called 'Main' with the same parameter types'
please correct if i am wrong