A Project with an output type of Class Library cannot be started directly

Follow below steps 

1. Right click on your project.

2. And click on Set as StartUp Project

3. Now run your project

 

About the Author

avatar