title: Two startup objects rather than one
body: <p>I have created a console application using .NET.  Please see the screen shot below:</p>
  
  <p><img src="https://i.stack.imgur.com/QqMSx.jpg" alt="enter image description here">
  Why is there two entries for: "startup object".  SubMain is part of class c1 in the code.  I don't understand why there are two entries rather than one.</p>
  
  <p>I have spent some time Googling this and I came accross a few similar questions on here, however I have not found an answer to my question.  The code is:</p>
  
  <pre><code>Class class1
  
      Public Shared Sub Main()
          MsgBox("Test")
      End Sub
  
  End Class
  </code></pre>
  
  <p>"Test" is displayed to the screen regardless of which option I choose from the drop down list.</p>