What is boxing and unboxing ?

Answer Posted / narayansahu

boxing is conversion from value type to object(reference)
type.Actually the copy of value type copied from stack to
heap memory.
unboxing is reverse of it.from heap memory back to stack
memory.

Is This Answer Correct ?    70 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain form level validation and field level validation?

513


How can we make sure that Web API returns JSON data only?

535


Describe the difference between inline and code behind - which is best in?

506


What is different in .net 1.1 and .net 2.0?

572


What are the advantages and disadvantages of Using Cookies?

519






What do you understand by aggregate dependency?

612


Can you clarified A Web service can only be written in .NET or not?

536


Why is global asax is used?

606


What are different types of api?

527


How can you send an email message from an asp.net web page?

519


What are the built-in objects in asp.net?

552


How can we provide the WebParts control functionality to a server control?

563


Should I delete cookies?

493


can s/w quality assurance engineer switch field to programming side i m very much interested in programming but not much good in it

1418


What is the latest version of asp.net?

533