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
We need programmers and accountants Skills required are .NET, C# Programming, Graphic Design, Commercials, Software Architecture

Script for auto seating poker Project Description: Not just like that though. I need a similar program that can scan during poker lobbys (pokerstars, ipoker, full tilt and on

The Events are always public as they are meant to serve each one registering to it. But you can access modifiers in the events.You may have events with protected keyword which will

Locate BUG website Project Description: Can you find a bug in easports fifa 14 ultimate team web app (easports/fifa/football-club/ultimate-team) so that i will earn a lot of

What are function points? The FPA is breaking huge systems into smaller pieces and analyzing them. The Software application is a combination of set of elementary processes. The

We need Long term Kentico developer needed I want a solid Kentico developer that I can rely on to handle overflow work. Usually this will include about 5 hours of work each week


What are the different accessibility levels in .NET? The five levels of access modifiers are as follows:- Private: The members of the class only have the access.

What are the different implementations of LINQ? The different implementations of LINQ are: LINQ to SQL - Refers to a component of.NET Framework version 3.5 that provides a

What is the sequence of UML diagrams in project? At First let me say some fact about this question, you cannot implement all the nine diagrams given by the UML in one project;