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 are the steps to make an assembly to public?
What namespaces are necessary to create a localized application?
Define an escape sequence, name few strings in escape sequence?
Is static class thread safe in c#?
What is the advantage of singleton class?
What are some of the commonly used commands in sqlcommand?
Do extension methods have to be static?
What is encapsulation in csharp?
What is the difference b/w Arry.copy() and array.clone() method?
Name some properties of array.
What do you mean by object pooling?
What does || mean in programming?