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 |
How can you use abstract class and interface?
Explain why do I get an error (cs1006) when trying to declare a method without specifying a return type?
What is the difference between a field and a property in c#?
What is binary search tree in data structure?
How can we Achieve Late binding in C#.Can any give one example.
What?s the difference between an interface and abstract class?
Can we extend sealed class in c#?
What is data type in c# with example?
Why would you use a class property in c#?
Can enum be null c#?
how to use msflexgrid in asp.net
What is boxing and unboxing in c#?