punjabtechnicaluniversity.blogspot.in
Following are the similarities between classes and structures :-
1. Both can have constructors, methods, properties, fields, constants, enumerations, events, and event handlers.
2.Structures and classes can implement interface.
3.Both of them can have constructors without parameter and with parameter.
4.Both can have delegates and events.
Following are the similarities between classes and structures :-
1. Both can have constructors, methods, properties, fields, constants, enumerations, events, and event handlers.
2.Structures and classes can implement interface.
3.Both of them can have constructors without parameter and with parameter.
4.Both can have delegates and events.
0 comments:
Post a Comment
North India Campus