Answer Posted / anand gopal makwa munger
Boxing is the term for turning a value type (int, double, float, Guid, etc.) into a reference type (System.Object, System.String, etc.). Doing this boxing operation allocates memory on the heap (which the garbage collector will eventually need to reclaim).
Casting is taking a type (say, System.Object) and treating it as another type (say, System.String).
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is difference cookie and session?
what are the Custom controls in asp.net?
What is the difference between executescalar and executenonquery?
What are the Types of authentications in IIS
How can we Validate a Controls in ASP.NET page using JavaScript?
Which method is used to enforce garbage collection in .net?
What is event bubbling?
Can you explain composite pattern?
What is csrf attack in asp.net?
What are the differences between primary foreign and unique keys?
What is session in http request?
What is the difference between pathparam and queryparam?
What is class and object in asp.net?
List the advantages and disadvantages of user control an custom control?
When maintaining session through sql server, what is the impact of read and write operation on session objects?