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 to achieve polymorphism in c#?
Explane each and every methods of nterface Queue? Explain About performance issues on retrieving records
Where do we use static class in c#?
Can bool be null c#?
Is 0 an unsigned integer?
What do you mean by stack and heap in c#?
What is _layout cshtml?
What is a c# delegate?
Is array ienumerable c#?
How does a while loop work?
Write down the c# syntax to catch an exception
Which program construct must return a value?
Why do we need events in c#?
Is the following code legal?
Explain the difference between pass by value and pass by reference.