What is boxing? Explain its functionality?
Answer / Geetanjali
Boxing refers to the process of converting a value type (struct) into an object in C#. This allows value types to be stored in variables, passed as arguments, and returned from methods that are designed for objects. When a value type is boxed, it is wrapped in a System.Object and can behave like any other .NET object. The opposite of boxing is unboxing.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a pre-requisite for connection pooling?
Is string immutable in c#?
Explain the difference between the debug class and trace class?
Which types of inheritances does c# support?
explain Garbage collector’s functionality on unmanaged code
Indexers in c#?
8 Answers Intaglio, Microsoft, TCS,
What is a console in c#?
Contrast between an interface and abstract class?
Define interface class in c#?
What is the difference between list and arraylist in c#?
what is virtual method in c#?
Please explain value types and reference types used in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)