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.2. Some .NET specifics

During the compilation phase, a new file Hello.exe is created. Although it may seem so, remember that this particular 'executable' is unlike the other .exe files that are created using a conventional non-.NET compiler (such as Visual Studio 6 or the ancient Turbo C++). This .exe file is a .NET assembly – it can only run if the .NET framework has been installed on the local machine. If you copy HelloWorld.exe to another Windows PC which does not have the .NET framework installed and try to execute it, it will not run.

The .NET framework [2] would have been installed if either of the following had been previously installed:

[2] At the time of writing, the .NET Framework Service Pack 2 has been released. This takes care of ...

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