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
Why do we need properties in c#?
What is thread in c#?
What is inumerable?
Can abstract class be sealed in c#?
Can we inherit private members of class in c#?
What is the difference between ref & out parameters in c#?
What is the namespace for the thread class?
Illustrate the differences between the system.array.copyto() and system.array.clone()?
Explane each and every methods of nterface Queue? Explain About performance issues on retrieving records
How will you deploy the dll file in gac?
What is difference between a constant and read-only in C#?
Why do we use stringbuilder in c#?
What is clr namespace?
what are pointer types in c#
What does void mean unity?