Click here to Skip to main content
15,897,371 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i don't know if my que is right or wrong bcoz i m new in C#.. :(
plz tell me which is low level exection in C#-

object,
class,
assembly,
MSIL

??

plz explain too.

eagerly waiting for answer..
Posted
Comments
OriginalGriff 14-May-12 3:23am    
Please use English rather than txtspk.

There are a number of reasons:
1) txtspk is seen as "childish" by many members - you have a keyboard, use it. That reduces the chance of misunderstandings.
2) This is an international site. Many members come from countries where English is not their native langauge: India, China, The United States of America. If you use txtspk then is difficult if not impossible for them to understand, as most of your post will not be in any dictionary.

.NET managed execution process includes the following steps:

1. Choosing a compiler.
To obtain the benefits provided by the common language runtime, you must use one or more language compilers that target the runtime.

2. Compiling your code to MSIL.
Compiling translates your source code into Microsoft intermediate language (MSIL) and generates the required metadata.

3. Compiling MSIL to native code.

At execution time, a just-in-time (JIT) compiler translates the MSIL into native code. During this compilation, code must pass a verification process that examines the MSIL and metadata to find out whether the code can be determined to be type safe.

4. Running code.
The common language runtime provides the infrastructure that enables execution to take place and services that can be used during execution.
 
Share this answer
 
The lowest level of execution (for any program written in any language) is the machine code, of course. So you should elaborate a bit your question if you need a useful answer. For instance at MSIL level, as far as I know, technically there is 'no more' C# language: it as been translated, exactly into MSIL instructions.
 
Share this answer
 
Comments
ssd_coolguy 14-May-12 5:25am    
thanks for reply.. :)
CPallini 14-May-12 5:28am    
You are welcome.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900