Sunday, April 12, 2009

c# class

Declaration of c# class:

[attributes] [modifiers] class identifier [:base-list] { class-body }[;]

here:

attributes (Optional): Additional declarative information.
modifiers (Optional): The allowed modifiers are new, abstract, sealed, and the four access modifiers.
identifier: The class name.
base-list (Optional): A list that contains the one base class and any implemented interfaces, all separated by commas.
class-body: Declarations of the class members.

No comments:

Post a Comment