What is boxing (in C language)? - ProProfs Discuss
Topics
Products
Follow Us:

What is boxing (in C# language)?

What is boxing (in C# language)?

Change Image    Delete



A. Encapsulating an object in a value type
B. Encapsulating a copy of a value type in an object
C. Encapsulating a copy of an object in a value type
D. Encapsulating a value type in an object

This question is part of C# Skills Test
Asked by Wyatt Williams, Last updated: May 29, 2020

+ Answer
Request

2 Answers

g.Kenneth

G.Kenneth

Answered Jan 24, 2018

C# language is a type of programming language that provides many different functions. Microsoft is the company that constructed this programming language. The purpose for its creation is due to its simplicity to use. It was also created with having engineering principles in mind. Also, Microsoft wanted a language that could be used in creating other software programs.

The creation of the C# language began in 1999 and continued into 2000 to finalize the product. Boxing is considered to be a procedure where a conversion takes place. Either the value type will be converted to a type object or an interface type will be changed from the value type. In C# Language, boxing is considered to be encapsulating a copy of a value type in an object.

 

John Smith

John Smith

Answered Jan 04, 2017

Encapsulating a copy of a value type in an object
 

Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer

Email Sent
We have sent an email to your address "" with instructions to reset your password.