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 reference types in c#?
What are c# i/o classes?
In a single .NET DLL how many classes it contains?
What do you mean by the delegate in c#?
What is cls, cts and clr in net?
What is a helper method in c#?
What are the types of methods in c#?
What is ienumerable t in c#?
User's session is explicitly killed by which method ?
Why delegates are type safe in c#?
Is array passed by reference in c#?
Which is faster dictionary or list?
Why we use methods in c#?
What does args mean in c#?
What is the wildcard character in sql?