title: Multiple Main Functions
body: <p>I'm a bit new at this so bear with me. I'm currently learning C# and Java and one of their similarities is that the main function needs to be encapsulated within a class. For example</p>
  
  <pre><code>public class HelloWorld {
      public static void main(String[] args) {
          // Some Code
      }
  }
  </code></pre>
  
  <p>Now I understand that main is often the "entry point" when you run the program. So basically, your program will start executing wherever the main function is. But I believe in both languages you can have multiple main functions within multiple classes. So when I compile a project with multiple main functions, where is the "entry point"? How does the compiler know where to start?</p>