MSIL

P

Persian boy

Hi,
Is there any way to write code with MSIL to compile directly (not first in
C# or VB and other .net languages)?I know any .net languages first compile
into MSIL and MSIL is a interface between .net(C#) and machine,i consider
to write code with MSIL .
Does MSIL is a language and is there any compiler to compile the MSIL programs?
Thanks
 
M

Mujtaba Syed

Does MSIL is a language and is there any compiler to compile the MSIL
programs?

CIL (new name for MSIL) is a language (sort of like assembly for the CLR).
The .NET SDK tool ILDASM.EXE can be used to compile (assemble really, as
C#/VB.NET get compiled to CIL, so there is no need to compile CIL - it can't
get compiled to itself?!! CIL needs to be assembled into, you guessed it - a
managed assembly!).

Mujtaba.
 
R

Richard Blewett [DevelopMentor]

I think you meant ILASM.EXE, ILDASM is the *decompiler*

Regards

Richard Blewett - DevelopMentor
http://www.dotnetconsult.co.uk/weblog
http://www.dotnetconsult.co.uk
Does MSIL is a language and is there any compiler to compile the MSIL programs?
Thanks

CIL (new name for MSIL) is a language (sort of like assembly for the CLR).
The .NET SDK tool ILDASM.EXE can be used to compile (assemble really, as
C#/VB.NET get compiled to CIL, so there is no need to compile CIL - it can't
get compiled to itself?!! CIL needs to be assembled into, you guessed it - a
managed assembly!).

Mujtaba.
 
M

Mujtaba Syed

O yes! Thanks for the correction Richard. I use ildasm much more than ilasm
(almost never, actually), hence the error. :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top