A nested class is a class declared in another enclosing class . It is a member of its enclosing class and the members of an enclosing class have no access to members of a nested class. Let us see an example code snippet of nested classes in C#.17 Eyl 2018