What are similarities between Class and structure

Q

What are similarities between Class and structure ?

✍: Guest

A

Following are the similarities between classes and structures :-
? Both can have constructors, methods, properties, fields, constants, enumerations, events, and event handlers.
? Structures and classes can implement interface.
? Both of them can have constructors with and without parameter.
? Both can have delegates and events.

2007-10-23, 4441👍, 0💬