title: How the runtime knows which class contain the Main method in C# application?
body: <p>I know that for Console/Windows application in C#, "Main" method is entry point to run the application.</p>
  
  <p>If we have hundreds of classes in our application, how the runtime will detect which class contains the "Main" method to run the application?</p>