Answer Posted / linton lazar
Boxing is converting a value type to a reference type
(Object Type).Casting is converting a reference type to a
reference type or a value type as another value type.
int i = 0;
object o = (object)i; //this is boxing
int i2 = (int)o; //this is unboxing.
long l = (long)i; //this is casting.
| Is This Answer Correct ? | 22 Yes | 0 No |
Post New Answer View All Answers
What is webresource axd?
How do you use viewstate?
What is the function of new view engine in asp.net? : asp.net mvc
Is viewstate secure?
How is my content secured from unauthorized access?
How many types cache in asp net?
What is application in asp net?
Why we go for mvc instead of asp.net? : Asp.Net MVC
Define web services in asp.net.
Describe the application event handlers in ASP.NET?
Contrast OOP and SOA. What are tenets of each ?
What is custom events?
What methods are fired during the page load? Init()
can we remote debug applications with the remote debugger installed with vs.net 2002, with vs.net 2003?
What is difference between session and cookies in asp net?