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 / sujit
int x=10;
object obj=x;//called boxing
x=convert.ToInt32(obj);// called unboxing
Is This Answer Correct ? | 5 Yes | 0 No |
What is the use of ienumerable?
Are c# references the same as c++ references?
How many constructors can a class have c#?
What is a long in c#?
What is string programming language?
How do I calculate relative time?
Why we need get set property in c#?
Explane each and every methods of nterface Queue? Explain About performance issues on retrieving records
Is as keyword in c#?
what is difference between destruct or and garbage collection ?
How can we sort an array in c#?
What are object pooling and connection pooling and difference between them?