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.
Explain about the DataContext class and also how it is related to the LINQ?
Briefly explain round trip?
Briefly explain about ToolTip control. In what way we can associate it with another control?
Explain the benefits of using the ADO.NET in .NET 4.0?
Explain DataAdapter class in the ADO.NET?
How we can prevent validation control from validating data at client end?
In what way we can disable a context menu for the TextBox control?
What is meant by DLR (Dynamic Language Runtime)?
Explain concept of the Destructor?
Write the difference between a toolstrip split button and a toolstrip drop-down button ?
18,76,764
1940789 Asked
3,689
Active Tutors
1441938
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!