1

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.
 

原文地址:https://www.cnblogs.com/stevenxiao/p/443123.html