static void Main() { switch (InterfaceFunctions.ChooseSection <LINQSections>()) { case LINQSections.Basics: { Basics.BasicLINQSyntax(); } break; case LINQSections.MethodSyntax: { Methods.MethodLINQSyntax(); } break; case LINQSections.LambdaExpressions: { LambdaExpressions.LambdaTests(); } break; } Console.ReadLine(); }