Differentiate UnBoxing and boxing
Write the main difference between UnBoxing and boxing.
Expert
The process is called as boxing when the value type is converted to the object type while, when the object type is converted to the value type, the process is called as unboxing.
The Boxing and unboxing facilitates value types to be treated as objects. Boxing the value type packages it inside the instance of an Object reference type. It allows a value type to be stored on a garbage collected heap. Unboxing extracts a value type from an object. This example shows an integer variable i is boxed and allocated to object obj.
Example:
int i = 123;
object obj = i; /* Thi line boxes i. */
/* The object obj can then be unboxed and assigned to integer variable i: */
i = (int)obj; // unboxing
Distinguish between RichTextBox control and TextBox control.
Describe the function of a SizeMode property of a PictureBox control?
What is Object?
Name the three states which are set in a CheckState property of the CheckBox?
Name the different methods provided by a DataSet object to create XML?
Briefly describe the ADO.NET architecture?
Write down the various open source tool accessible for the VB.NET?
Provide a detailed introduction on the Side-by-side execution. May two applications, one using private assembly and the other using the shared assembly be stated as side-by-side executable?
Which method is used in .NET to enforce garbage collection?
18,76,764
1933878 Asked
3,689
Active Tutors
1438122
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!