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
I am trying to implement sorting facility from client side code in GridView Control. So how can I fill up an Array inside client side code (using JavaScript), i want to assign my DataSet object declared and filled up on Server side(in code behind) to the array (on client side)
What is asp.net web application?
What are the components of ado.net?
How do you secure your configuration files to be accessed remotely by unauthorized users?
How to manage different kinds of sessions in ASP.NET?
Is asp.net easy to learn?
What is an example of an application service provider?
What is application in asp net?
How to do state management in ASP.NET?
What is caching? What are different ways of caching in asp.net?
What is the extension of master page in asp.net?
What are ASP.NET Web Forms? How is this technology different than what is available though ASP?
Explain the concept of View Model in MVC?
Give an example of cookie abuse.
What are the uses of reflection?