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 meant by XCOPY?
Describe the concept of Bookmarks in WF 4.0.
How can you avoid a class from overriding in C# and Visual Basic?
Write down the three main points in WCF?
What are the rules and regulations which should be followed while creating the well-formed XML document?
Explain the term Data Encapsulation?
What are the chief built in objects in Asp.net?
Name the latest features of the ADO.NET Entity Framework 4.0?
How an ellipse is created, which is non- rectangular window?
Explain why does an organization needs to manage the workloads?
18,76,764
1943846 Asked
3,689
Active Tutors
1447581
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!