Running It

The result of the compilation is an executable called hello.exe, meaning that we can run it immediately as a Windows application (see Figure 3.10). This differs from platforms like Java where a separate application is required to run the compiled code.

Image

FIGURE 3.10 Our program in action.

That wasn’t too hard, was it? To satisfy our technical curiosity, let’s take a look at the produced assembly.

Get C# 5.0 Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.