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.
Differentiate between fragment caching and page-level caching?
Illustrate the difference between the XML ‘Fragment’ and an XML ‘Document’.
What is the duration for items stored in the ViewState?
Explain the Code Contracts?
Briefly explain the term ExpandoObject?
Explain briefly about Object Relational Designer (0/R Designer)?
By which method we can post a Web page to another Web page?
How we can prevent users of the application from editing a text in ComboBox controls in the .NET 4.0?
Name the classes that are supported to make the XML DOM?
Web form belongs to which class in a .NET Framework class hierarchy?
18,76,764
1922003 Asked
3,689
Active Tutors
1460412
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!