There are five different kinds of types in C#:classstructinterfaceenumdelegate
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.