Interviews - C# Corner

Atulya Panda
Why declare Main() inside the class ?
By Atulya Panda in ASP.NET Programming on Nov 26, 2012
  • Shonali Paul
    Jan, 2013 26

    everything has to be inside a class including main method also so it is always inside a class

    • 0
  • Shonali Paul
    Jan, 2013 26

    It is complete Object-oriented language hence every function even main should be declared in class.....

    • 0
  • Asit Singh
    Jan, 2013 9

    Main is the entry point of the program

    • 0

C# Corner Hyderabad Developer Conference

Most Popular Companies

Most Popular Job Functions

MOST LIKED QUESTIONS