hi;
I am new in c#.
I try to write a program called "hello world" in C# in dos prompt.
I am facing the following problem: "'csc.exe' is not recognized as an internal or external command, operable program or batch file"
I went to control panel>system>advanced and put the framework path as: C:\Windows\Microsoft.NET\Framework\v4.0.30319 yet the problem was not solved.
I use windows 7.
Could you help me about where the mistake is?
sorry for my bad english :)
Csc.exe error
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Akkiraju IvaturiRank #473 · 5.3K reputationPosted Sep 2, 2012, 1:55 PM EDT
Sukesh MarlaRank #461 · 5.4K reputationPosted Sep 2, 2012, 7:45 PM EDT
try here now.
check this is correct answer if it helped.
Jignesh TrivediRank #16 · 50.3K reputationPosted Sep 2, 2012, 7:57 PM EDT
Agree with Sukesh..
csc.exe is command line bulider, so you must run this using Visual Studio command prompt.
Please refer
http://msdn.microsoft.com/en-us/library/78f4aasd.aspx
hope this will help you.