Content deleted Content added
→Sample Code: "cil" and "managed" are defaults, and "public" is not required for the entrypoint; ".assembly extern" is needed for WriteLine |
|||
Line 102:
== Compiling CIL ==
CIL can be very easily compiled by anyone who has the .NET framework installed on their computer, as it is distributed with a tool called the
To compile a program with the ILAsm on a computer running Windows, simply execute this command in the Command Prompt:
This will, literally, compile the filename referenced into a .exe file. You can change it to become a DLL, for example, by changing the last attribute to dll instead of exe.
|