There are five different kinds of types in C#:
class
struct
interface
enum
delegate
You can nest all five of these inside a class or a struct.
Note You cannot nest a type inside an interface, an enum, or a delegate.
There are five different kinds of types in C#:
class
struct
interface
enum
delegate
You can nest all five of these inside a class or a struct.
Note You cannot nest a type inside an interface, an enum, or a delegate.