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
What is the predicate of a sentence?
What is an object and a class?
Can delegates be used as callbacks?
What is interpolation in programming?
What is cosole application?
Does c# replace c++?
What is predicate builder?
What's different between c# and c/c++?
Explain the different types of delegates used in c#.
Distinguish between finally and finalize blocks?
Could you explain the difference between func vs action vs predicate?
How to sort an int array in c#?
In .NET how can you solve the DLL Hell problem?
Describe the types of comments in c#?
Can hashtable have duplicate keys in c#?