Integer at long type variable are not object.Support your
answer with example.And explain the technique to convert from
value type to reference type and vice-versa.
Answer Posted / sujit
int x=10;
object obj=x;//called boxing
x=convert.ToInt32(obj);// called unboxing
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is static classes in c#?
What is activator c#?
What is the difference between Singleton design pattern and Factory design pattern?
what is partial assembly reference
How long will it take to learn c sharp?
Why do we use hashtable in c#?
Explain the difference between a namespace and assembly name in .net?
What is the difference between asp net and c#?
What is the difference between namespace and class in c#?
Can you use all access modifiers for all types?
What is difference between struct and class in c#?
What does type safe mean in c#?
What is scaffolding in c#?
What is lazy loading c#?
What is escape sequence in c#?