Similarities between class and structure
Specify the similarities between a class and a structure.
Expert
Structures and classes are two main data structures which are used by the programmers in order to build the modular programs by using OOP languages, like, Visual C# and Visual Basic .NET.
Following are some of the similarities between a class and a structure:
a) Access specifiers, that is private, public and protected, are used identically in the structures and classes in order to restrict the access of their data and methods outside their body. b) Access level for class members and struct members, comprising nested classes and structs, is considered as private by default. c) Both can have methods, constructors, properties, constants, fields, enumerations, events, and event handlers. d) Both classes and structures can also implement interfaces to use the multiple-inheritance in code. e) Both classes and structures can have the constructors along with parameter. f) Both classes and structures can have delegates and events.
What is data type and how many types of data types are there in .NET ?
Which type of code, a client-side or a server-side, is found in the code-behind file of the Web page?
Illustrate the term Namespace also its uses?
Is it possible to post and access view state in the other application?
State the difference between Managed and Unmanaged Code?
Explain the types of deployment models which are used in the cloud?
Describe the term Cloud?
Write down the command which is used to run a batch?
Explain about DataContext class and how is it associated to LINQ?
Describe the differences between the Server-side and Client-side code?
18,76,764
1959174 Asked
3,689
Active Tutors
1461181
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!