Search This Blog

Tuesday 29 July 2014

C# interview Questions

Q)What is the difference between managed and unmanaged code?

A)A code that executed under the instructions of CLR is called
managed code.
A code that execute without the instruction of CLR is called
unmanaged code. 



What is .net framwork?
what is web application?
what is CLR? How does work CLR & wht is work of CLR?
What is compile?
wht is thread? what does use in .net?

FRAMEWORK : it is a collection of all the tools and utilities required to execute the .net managed application on particular platform.

WEB APPLICATION: it is also known as website , it is a collection of webpages. it needs web server to run.

CLR- common language runtime.. clr in .net is equivalent to jvm in java. garbage collection,sode access security, code verification, intermediate language are work sof clr..
it uses jit to compile intermediate language code to machine code....

THREAD-- sequence of execution .... 

What is shadowing?
When two programming elements share the same name, one of 
them can hide, or shadow, the other one. In such a 
situation, the shadowed element is not available for 
reference; instead, when your code uses the element name, 
the Visual Basic compiler resolves it to the shadowing 
element. 

What are the types of assemblies and where can u store them
and how ?

Please note there are three types of Assemblies.

1) Private - Assembly available only to clients in the same 
directory.
2) Shared - Assemblies in GAC
3) Satelite - Assembly in the specific directory of the 
locale. 

No comments:

Post a Comment