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.



Integer at long type variable are not object.Support your answer with example.And explain the tech..

Answer / 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

More C Sharp Interview Questions

What is the use of ienumerable?

0 Answers  


Are c# references the same as c++ references?

0 Answers  


How many constructors can a class have c#?

0 Answers  


What is a long in c#?

0 Answers  


What is string programming language?

0 Answers  






How do I calculate relative time?

0 Answers  


Why we need get set property in c#?

0 Answers  


Explane each and every methods of nterface Queue? Explain About performance issues on retrieving records

0 Answers   DELL,


Is as keyword in c#?

0 Answers  


what is difference between destruct or and garbage collection ?

0 Answers   Wipro,


How can we sort an array in c#?

0 Answers  


What are object pooling and connection pooling and difference between them?

0 Answers  


Categories