MSIL

  • Thread starter Thread starter Persian boy
  • Start date Start date
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
 
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.
 
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.
 
O yes! Thanks for the correction Richard. I use ildasm much more than ilasm
(almost never, actually), hence the error. :-)
 
Back
Top