Similarities between class and structure, DOT NET Programming

What are similarities between Class and structure?

The similarities between structures and classes are as follows:-

1) Both can have constructors, properties, methods, fields, constants, enumerations,event handlers, and events .

2) The Structures and classes can implement the interface.

3) Both of them can have the constructors with and without parameter.

4) Both can have the delegates & events.

Posted Date: 9/22/2012 3:10:39 AM | Location : United States







Related Discussions:- Similarities between class and structure, Assignment Help, Ask Question on Similarities between class and structure, Get Answer, Expert's Help, Similarities between class and structure Discussions

Write discussion on Similarities between class and structure
Your posts are moderated
Related Questions
What is XML? Extensible markup language (XML) is all about describing the data. Below is a XML which describes an invoice data. Shoes   12 10

how can i construct er diagram for payroll managment

What are the differences between ASP and ASP .Net ?  ASP: Code is Interpreted ASP.NET: Code is Compiled   ASP: Business Logic and Presentation Logic are in a one

Define the ToolTip control. How can you associate it with other controls? The ToolTip control produces a small pop-up window with explanatory text for an element it is displaye

Can we get a strongly typed resource class? You can now get strongly types classes in the VS.NET intellisense as shown in the figure below. Figure: - Strongly typed re

What is "AutoPostBack" feature in ASP.NET? If we want to control the automatically postback in case of any event, we will need to check the attribute as true. For example on a

Finding Average of Array Elements - C# Program I need assignment help for Finding Average of Array Elements in C#. Can anybody send me there ideas?

What is the significance of Finalize method in .NET? The .NET Garbage collector does atmost all clean up activity for your objects. But unmanaged resources (like - Windows API

ASP.NET/MSSQL/ MVC completing backend solution + integrating with frontend. Project Description: System is used for tracking company's activities through several projects by

sir, i just trapped in decryption.....wud u plz help me