1 / 4

Compilation and Execution of C# Programs

Compilation and Execution of C# Programs. C# Program Execution. Computer. .net “Runtime”. Microsoft Intermediate Language. C#. Compiler. Your original Program stored In one or more .cs files. Translates your program into the Microsoft Intermediate

conley
Download Presentation

Compilation and Execution of C# Programs

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Compilation and Executionof C# Programs

  2. C# Program Execution Computer .net “Runtime” Microsoft Intermediate Language C# Compiler Your original Program stored In one or more .cs files. Translates your program into the Microsoft Intermediate Language Part of Visual Studio (The Build command) An .exe file which is executed by the .net “Runtime”. The .net Runtime is a program which can be executed by the computer and interprets the program in your .exe file.

  3. Implications . . . Computer .net “Runtime” Microsoft Intermediate Language • The computer cannot execute a compiled C# program directly. • You do not need Visual Studio to run the program once it has been compiled. Just run the .exe file. Windows starts the .net Runtime which then executes your program. • To run the program on a different device, only the .net Runtime has to change. C# Compiler

  4. .net, Java, and Older Architectures Languages Program executed by Compiled to Security To run on a different type device type . . .

More Related