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.
What is data type and how many types of data types are there in .NET ?
How Web services can be prevented from the unauthorized access?
Differentiate Skip and Take clauses?
Explain how exception handling is changed in the .NET Framework 4.0?
How can you avoid a class from overriding in C# and Visual Basic?
What do you understand by the JSON?
Write major difference between function and sub-procedure?
What does a break statement do in the switch statement?
Explain the term Cloud Computing?
Name some of the binders which are offered by .NET Framework 4.0.
18,76,764
1942737 Asked
3,689
Active Tutors
1415686
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!