O'Reilly logo

From Java to C#: A Developer's Guide by Heng Ngee Mok

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

4.1. How to compile and run the code examples in this book

If you have VS .NET, you can choose either to write and compile the codes within the VS .NET IDE, or via command line.

You cannot run the VS .NET command line tools from your usual Windows DOS prompt (which is activated by STARTrun, type in "cmd" or STARTProgramsAccessoriesCommand Prompt) because certain configuration settings are required.

You need to use the special VS .NET command prompt if you want to use the command line tools. After you have installed VS .NET, click on STARTProgramsMicrosoft Visual Studio .NETVisual Studio .NET toolsVisual Studio Command Prompt.

Type in your codes using a text editor (e.g. Notepad) and compile it using the command line C# ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required