Class and Structure
State the difference between a class and a structure?
Expert
Class :
a) A class is a reference type. b) While instantiating a class, CLR assigns memory for its instance in heap. c) Variables of class can also be allocated as null. d) Classes also support inheritance. e) Class contains constructor/destructor.
Structure :
a) A structure is a value type. b) In structure, memory is allocated on the stack. c) Structure members cannot have null values. d) Structures do not support inheritance. e) Structure does not need any constructor/destructor and members are initialized automatically.
Specify the process of execution for the managed code.
Describe DataReader object?
How one can retrieve the customized properties of the .NET application from a XML .config file?
List the classes which are introduced in the System.Numerics namespace?
How the cursor can be programmatically positioned on a given line or on a character in the RichTextBox control in C#?
Explain the function of WebpartListUserControlPath property of the DeclarativeCatalogPart control?
Define the term “Array”.
Illustrate the term LinqDataSource control?
Specify the differences between the Dispose() and Finalize() methods.
Explain about DataContext class and how is it associated to LINQ?
18,76,764
1928812 Asked
3,689
Active Tutors
1449485
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!