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 difference between private, protected, and public in C#?
In C#, explain the difference between overloading and overriding.
What is a framework in c#?
What is data dictionary in c#?
What is func c#?
What is dictionary and hashtable in c#?
What is difference between string and stringbuilder in c#?
Can we extend sealed class in c#?
Is a structure a class?
What is a c# delegate?
What does mean before a string in c#?
What is namespace explain with example?
What is the difference between protected and private?
What is verbatim string?
What is console programming language?