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
Can abstract class be sealed in c#?
What is a delegate in c#?
Is list a collection c#?
Describe the ways of cleaning up objects in c#.
Is c# a backend language?
Explain About Web.config
What is array class in c#?
What will be the output of the following code?
Explain polymorphism in c# with a simple example?
What is the difference between constants and read-only?
What can I create with c#?
Can extension methods access private members?
What is the difference between convert and parse in c#?
Explain the difference between the system.array.copyto() and system.array.clone()?
What is a three-tier application.