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 the difference between dynamic and var data types? The difference among the var and dynamic data types is that the var data type is strongly type checked at the compile

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

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

Modification in .net website I need some modification in asp.net website. It's an e-commerce site. Skills required: .NET, HTML, eCommerce, Shopping Carts, Website Design

Concept of Boxing and Unboxing The Boxing permits any value type to be implicitly converted to type object or to any other interface type implemented by the value type. The Box

what are major difference between classic ADO &ADO.NET?

What is a parameter? Explain the new types of parameters introduced in C# 4.0. A parameter is a special type of variable, which is used in a function to give a piece of informa

to design a grid view and edit and delete the data

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,

I have a code in C# which uses Microsoft Solver Foundation to solve linear programming model. But the problem is the code is too long, there are too many variables and constraints,