C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !






What are the Similarities between Classes and Structures?


Posted Date: 11 Sep 2008    Resource Type: Definitions    Category: General

Posted By: Initiotech       Member Level: Gold
Rating:     Points: 5



These are some Similarities between Classes and Structures :

  • Structures and Classes both can have constructors,method,properties,fields,contants,events and their handlers.ect

  • Structures and Classes both can implement Interfaces

  • Structures and Classes both can have delegates



THESE ARE ONLY A FEW SIMILARITIES DOTNETSPIDER MEMBERS ARE REQUESTED TO ADD MORE TO THIS.

================================================================================
Regards Hefin Dsouza.




Responses

Author: mahendrakiran    31 Oct 2008Member Level: Gold   Points : 1
1)class is a collection of methods functions and properties
enumerators and fields.

2)structure can be defined as a tool for handling a group of
logically related data item.

The main difference is:
3)class is a referance type.
4)structure is a reference value type.


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Structures  .  Classes  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Diffrence Between Classes and Structures?
Previous Resource: difference between UNION ALL Statement and UNION
Return to Discussion Resource Index
Post New Resource
Category: General


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design

doors in nj

Contact Us    Privacy Policy    Terms Of Use