.NET Framework Interview questions


Total available count: 35
Subject - Microsoft Technologies
Subsubject - .NET Framework

Explain about Boxing and Unboxing?

Boxing converts a value type into a reference type but it makes a new copy of the value type instead of directly converting it. This allows a converted value type to store in the managed heap as a reference type.

Unboxing is explictly converting an object into value type.

Eg:-

Boxing a value type into a reference type

int boxing = 93;
object unboxing = boxing;

Unboxing a reference type into a value type

unboxing = 123 ;
boxing = (int)boxing;




Next 5 interview question(s)

1
What is difference between Value types and Reference types?
2
Explain about private, Public or Shared, Satellite Assemblies?
3
What is JIT (Just in Time)?
4
Different types of JIT (Just In Time)?
5
What is Strong Name Tool(Sn.exe)?

Comments