Hi to everybody. Lastweek i had taken an interview on c#.
They ask what is boxing & unboxing, Masking.Please tell the
answer and it is useful for me.
Answer Posted / raj
Boxing: Implicitly converting value type to object type
Eg: int i=1;
object obj=i;
UnBoxing:Explicitly Converting object type to value type
Eg: int j=(int) obj;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do we achieve encapsulation in c#?
How do I do implement a assert?
What Is A Satellite Assembly?
What are the advantages of generics in c#?
Why do we overload constructors?
List the 5 different access modifiers in c#?
Explain the top reason to use c# language?
What is garbage collector and where should you use in .NET?
Can a struct inherit from an interface in c#?
Where do I put dll files?
Explain the difference between and xml documentation tag?
How do you declare an interface in c#?
What is alias in c#?
Is c# and .net same?
What are the different states of a thread?