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 c# console application?
What is the main purpose of xml?
What is a delegate? How can it works?
What is managed or unmanaged code?
Explain the difference between a namespace and assembly name in .net?
How do I create a delegate/multicastdelegate?
What is the purpose of namespace?
Is c# scripting language?
What is encapsulation in csharp?
What is marshalling and what are different kinds of marshalling?
To whom a method is accesssed if it is marked as protected internal ?
Is var a data type?
Differentiate between sqlclient oledb and providers?
What are data types with examples?
What do u mean by delegation of authority?