Exemplo n.º 1
0
        static void Main(string[] args)
        {
            Section section = Section.LambdaExpressions;

            Console.WriteLine();
            switch (section)
            {
            case Section.Basics:
            {
                Basics.BasicLINQSyntax();
            }
            break;

            case Section.MethodSyntax:
            {
                Basics.MethodLINQSyntax();
            }
            break;

            case Section.LambdaExpressions:
            {
                LambdaExpressions.LambdaTests();
            }
            break;
            }
            Console.ReadLine();
        }
Exemplo n.º 2
0
        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();
        }