English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

(Continued .. from above )with the meta data. But What if I write a program (class) outsite of visual studio.net like in a notepad, compile it using CSC and then run it just by typing the generated (PE) executable file. In this case there is no assembly then how does CLR run the code ? .NET EXPERTS : PLEASE CLARIFY. Thanks to all geniun respondents.

2006-07-13 23:56:02 · 3 answers · asked by sac m 1 in Computers & Internet Programming & Design

3 answers

csc = c sharp compiler ..
actually this is m.s.'s provided compiler which intern uses the clr to compile the code and you can find assembly in windows directory.
csc it self take care of this clr processing(actually clr)..

I think you are confused with csc.exe.. hence recommand you to read this:--
"The command line C# compiler is a program named CSC.EXE. This program makes use of a dynamic link library named CSCOMP.DLL that contains the actual compiler code. Another DLL, CSCOMPMGD.DLL ("C# compiler managed") is also included with the .NET Framework SDK and is accessible to .NET programs. See the documentation of the Microsoft.CSharp namespace for details. ......"
More on Website:- http://www.charlespetzold.com/key/CommandLine.html

well, you may find the answer complicated just as this question. i request you to elaborate to this so that readers can understand. well small example will do.

2006-07-14 00:50:07 · answer #1 · answered by Krex 3 · 0 0

The executable generated by the csc compiler is the assembly. The compiler converts your code into the MSIL intermediate format and you will notice that if you use the disassembler (ildasm.exe) on your executable, an enormous amount of metadata is in fact present and perusable.

2006-07-14 01:58:03 · answer #2 · answered by evolver 6 · 0 0

I provide out in common words some stars because I in common words provide stars to those questions I genuinely have good thoughts about or they are area of my life in a roundabout way... they should be significant to me, so if my acquaintances shop on with my megastar to that query, they are going to see why I starred it... So truly it purely must be significant adequate to percentage with others...

2016-11-02 01:15:18 · answer #3 · answered by Anonymous · 0 0

fedest.com, questions and answers