why Dot .net is used?
-- .net is more powerfull tool used to build distibuted computing applications.
Expaln code Execution process in .net?
--- 2 types
1) language compile compilation-its convert source code to MSILcode
2)CLR compilation- itsconvert MSIL to Native code.
How Many languages .NET supports?
--61
Is .NET platform independent?
-- .NET is independent using .NET framefork
Dependent Using Monoframework.
What is platform?
--platform is combination of OS Architecture & process Architecture
what is platform Dependency?
-- If code generated by the language compiler compilation doesn't run / execute on a different processor and in diff OS..
What is platform Independency?
--If code generated by the language compiler compilation runs on any processor and any OS..
How many times code is compiled in .NET?
--2
Which code compilation is faster?
--2nd compilation is fast
What are the components of .NET Framework?
-- CLR(Common Language Runtime)
--CLS
--CTS
--GC
--JIT
-- BCL( Base Class Library) or FCL (Framework class Library)
What is CLR and Explain its role?
-- CLR(common language runtime) is to convert the MSIL code to native code.
What is CLS and Expain its Role?
--CLS(Common Language Specification) is responcible to provide language interoperability.
What is language interoperability?
--Providing code execution support for that has been written in other programming languages is known as langiage interoperability.
for example.. if u wirte code C#.NET that can be executed in VB.NET,J#.net.. other progming lang of .net..
What is Managed Code and Managed Code execution?
--The code that has to be written in .NET supporting prog languages will contain MSIL format and is directly executed by the CLR which is known as Managed code.
What is UnManaged code and Un Managed Code execution?
--Code for which there is no MSIL format is available is not executed by the CLR directly which is known as unmanaged code.and the code execution process is known as unmanaged code execution.
Which code execution is faster Managed/UnManaged?
--managed code is faster
What is CTS ?
--CTS(common type system)
What are the catagories of data types in CTS?
--2tyes value type ......... Reference type
what is value type?
--the Data types which are able to store the data directly into the memory location..
What is Reference type?
--The data types which can't store the data directly into their memory location rather its refers to other memory location..where the data is stored is known as reference type.
examples of value type and reference types?
--value type ex predifined funs,structures,enums
--Reference type ex Arrays,classes, object, interfaces.
What is boxing?
--it is a process of converting a variable from value type to reference type.
What is UnBoxing?
--it is a process of converting a variable from reference type to value type.
How many Generations are maintained?
--3
how generation sizes are allotted?
--Increasing order/ Decreasing order---- Gen0<Gen1<Gen2 / Gen2>Gen1>Gen0
What is the role of JIT compiler?
--JIT(J ust In Time)compiler responcible to compile the MSIL code & Generates native code.
list out the types of Jitters?
--3types
prejitter
econo jitter
Normal jitter
In which from a class library / Assembly in .NET exists?
--DLL & EXE
What is DLL?
-- DLL(Dynamic Link Library) is used as a supportive file. DLL doesn't contain any entry point so it can't run individually.
the library functions of the DLL are linked to the applications Dynamically or at runtime so name is DLL
What is EXE?
--An EXE is an executable file. An exe will contain main function or entry point so it can run individually.
What are the types of Assembly?
--private/local Assembly
public/global/shared Assembly
static assembly
Dynamic assembly
satellite assembly
What is GAC?
-- GAC(Global Assembly Cache)..the global place is known as GAC
What is the Physical Location of GAC?
--C:\windows\assembly
What is strong name explain?
--strong name is the unique name used to identity the assembly in GAC
what is the format of PE file?
--COFF(common object file format)
What is COFF?
--it is a property of ms. i.e..,ma applications can understand only COFF format..