Exemple #1
0
        ////Method CAN DO

        public YourClassObject3 CreateClassObject3()
        {
            YourClassObject3 object3 = new YourClassObject3();

            Console.WriteLine("do something here #3");
            Console.ReadLine();
            return(object3);
        }
Exemple #2
0
        public void DirectUser(int option)
        {
            Console.Clear();

            switch (option)
            {
            case 1:
                YourClassObject switchCaseObject = new YourClassObject();
                switchCaseObject.CreateClassObject1();
                break;

            case 2:
                YourClassObject2 switchCaseObject2 = new YourClassObject2();
                switchCaseObject2.CreateClassObject2();
                break;

            case 3:
                YourClassObject3 switchCaseObject3 = new YourClassObject3();
                switchCaseObject3.CreateClassObject3();
                break;

            case 4:

                break;

            case 5:

                break;

            case 6:

                break;

            default:
                break;
            }
        }