title: ERROR: A project with an output type of class library cannot be started directly
body: <p>I've got sample code with C#, but when I run Program I get the error message like this:</p>
  <blockquote>
  <p>A project with an Output type of Class Library cannot be started
  directly In order to debug this project, add an executable project to
  this solution which references the library project. Set the executable
  project as the startup project.</p>
  </blockquote>
  <p>I'm searching in for the output . i got Answer for solving . I try that too but i m not getting any thing.</p>
  <p>This is my Application:</p>
  <p><a href="https://i.stack.imgur.com/2iwPq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2iwPq.png" alt="enter image description here" /></a></p>
  <p>Help me to get Output. What I need to do for this Error. I'm also tried to select the project to &quot;set as startup project&quot; but still the same error appears.</p>