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 are resource files? The Resource files are the files which contain program resources. Many programmers think that resource files are used only for storing strings. But you

Project Description: i have predefined template which contains all my user details and there order details We have to create a login where a user uploads data. Mobile  Nam

What is RAID and how does it work? The Redundant Array of Independent Disks (RAID) is a term used for describing the technique of improving data availability through the use of

Manifest Assembly metadata is always stored in the Manifest. Manifest consists of all metadata required to do the following things: 1) Version of assembly 2) Security ident

I need help in Calendar integration into site using .net I'm demanding to create a web-based proof of concept for the following scenario. I'd like to permit a user to select

write a program in C# to perform arithmetic operation

How will you do code reviews? The way in which the code reviews are done change from person to person and also from company to company. But generally when a project is started

What is boxing in .net

Counting Number of Words in a String - C# Program Anyone can suggest me the output of the following program. using System;   class CountWords { public static void

What is Array List? An Array is whose size can increase or decrease dynamically. The Array list can hold item of various types. As Array list can increase and decrease his size