Ejemplo n.º 1
0
    public static void Main()
    {
        Console.WriteLine(alu.country);
        Console.WriteLine("\n");

        alu Intel = new alu(32, "Intel");
        Intel.Write_info();

        alu AMD = new alu(64, "AMD", "Athlon");
        AMD.Write_info();

        Console.WriteLine("What is the model of the Intel processors");
        Intel.Model = Console.ReadLine();

        Console.WriteLine("What is the architecture of the AMD? ");

        AMD.Architecture = Console.ReadLine();

        Console.WriteLine("\nNew information: \n");
        Intel.Write_info();
        AMD.Write_info();

        Console.WriteLine("Press any key to do nothing :)");
        Console.Read();
        Console.WriteLine();
        Intel.do_something();
        Console.WriteLine("");

        Console.WriteLine("What can the company do? ");
        AMD.do_something(Console.ReadLine());
    }