Exemple #1
0
        public static void Execute()
        {
            ConsoleExtension.WriteSeparator("Value holder example");

            var collegeFactory = new CollegeFactory();
            var college        = collegeFactory.CreateFromId(1);

            college.ShowDetails();
        }
Exemple #2
0
        public static void Execute()
        {
            ConsoleExtension.WriteSeparator("Value holder example");

            var collegeFactory = new CollegeFactory();
            var college        = collegeFactory.CreateFromId(1);

            Console.WriteLine("Give me more details about the college!");
            college.ShowDetails();
        }