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
Where do we use static class in c#?
What is string empty?
What is keywords in c#?
How to create events for a control? What is custom events? How to create it?
What is namespace c#?
Why dictionary is used in c#?
What is difference between .net and c#?
Where do I put dll files?
What is a dimensional array?
Why extension method is static?
What is a hash table in c#?
What is the root element of an xml file?
Could you explain the difference between func vs action vs predicate?
What is parse method in c#?
What is _layout cshtml?