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 / chandu
Boxing:converting from value types to reference type is
known as boxing.
Unboxing:Converting from reference types to value type is
known as unboxing.
boxing ex: int i=1;
obj o=i;
unboxing ex: int i=1;
obj o=i;
int j=int o;
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is difference between array and collection?
What is reflection c#?
What is the advantage of generics in c#?
What is the difference between ref and out parameters in c#?
What do constructors do in c#?
What is constructors, explain with syntax
What are circular references?
Describe the ways of cleaning up objects in c#.
Define method overloading in c#?
Explain boxing and unboxing in c#?
What you mean by inner exception in c#?
What is asynchronous one-way calls?
What is a factory in c#?
What is mvc firstordefault?
What is hashset c#?