Tuesday, 29 April 2014

Create Console Application in Visual Studio Express 2012

Want to create Console App in visual studio express 2012, But there is no console app template !!!!!!!
Then What to do.............   .... ...
OK ! But there is Class library template..

Here I am going to explain step by step to create console application from class library template.

Step 1: Go to File -> New Project ->Templates -> Visual C# ->Windows
              and choose Class Library template

Step 2:  Then click OK.Then a Class will be created .

Step 3: Then Go to Project -> Select Class library properties

 Step 4: Now select Console Application From OutputType and save, As in below image..

Step 5: Write your console code

Now you achieve your target :) :)
Run the app by pressing F5.......