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
Can we have 2 main methods in c#?
What is readline c#?
What is regex replace in c#?
If dll and exe files are same it means you can deploy both the files in gac?
Name the two classes are required for implementing a windows service?
write a c# program add two matrix with input number ?
What are jump statements in c#?
What is Asynchronous call and how it can be implemented using delegates?
Can we call server-side code (c# or vb.net code) from javascript?
What are Regex / regular expressions ?
What is console writeline in c#?
Explain the process of polymorphism with an example?
Which control cannot be placed in mdi?
What is a property in c#?
Why do we need oops in c#?