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 namespace in oop?
What is predicate c#?
What is the purpose of constructor in c#?
What is unsigned int?
What is data adapter in c#?
Are structs value types or reference types?
What are get and set in c#?
Which property of the textbox cannot be changed at runtime?
How do you access a constant field declared in a class?
What is the use of ispostback in c#?
What is access specifier in c#?
What is the full form of GAC? Explain its uses?
What does the initial catalog parameter define in the connection string?
Wht executescaler method is used?
How we can create an array with non-default values?