Tuesday, July 14, 2009

How to compile c# in visual studio 2008.?

I want to compile and see the damn console. Not weird stuff. My code is idiotically simplistic.





using System;


using System.Collections.Generic;


using System.Linq;


using System.Windows.Forms;





namespace test


{


static class Program


{





static void Main()


{


double a;


a = Double.Parse(Console.ReadLine());


double b;


b = Double.Parse(Console.ReadLine());


double average = (a + b) / 2;


Console.WriteLine(average);


}


}


}





Where is the goddamn compile button and view console button. Curse the stupid interface of visual studio 2008! Very frustrated.

How to compile c# in visual studio 2008.?
COmpile with Debugger. Just press F5.





Without debugger, just Build.

our song

No comments:

Post a Comment