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
Name the classes that are introduced in the System.Numerics namespace. The following two new classes are introduced in the System.Numerics namespace:  BigInteger - Refers

What is garbage collection? Explain the difference among garbage collections in .NET 4.0 and earlier versions. Garbage collection stops memory leaks during execution of pro

Project Description: My project is to construct for me an application that emulates the http requests made in a webapp. It will need a lot of dedication and skill in C#,.net,

Custom Login Page for SharePoint 2013 with Active Directory Project Description: I would like to prepare a webpart or an application for Sharepoint 2013 foundation. The we

Need Software Reconfiguration Project Description: I have a small program -exe that after selecting an item from the menu it start an .xls file and executes a security proces

Can you define what inheritance is and an example of when you might use it? The process of deriving a new class from an existing class is known as Inheritance. The old class is

Briefly explain what user controls are and what server controls are and the differences among the two.   An ASP.NET control (sometimes known as a server control) is a server-si


The purpose of this project is to ?nalize your TODO application.  For this project we are aiming to achieve the following: Objectives: Integrate a fully functional mobile

Need code for Windows 8 and Windows Phone 8 that will http post images to a php file on web server. Project Description: I am working on two projects on both Windows 8/RT and