예제 #1
0
        public static void Main(string[] args)
        {
            //Fordon SAAB = new Fordon();
            //SAAB.setTillverkare("SAAB");
            //SAAB.setModell("95a");
            //SAAB.setÅrsmodell(99);

            //Console.WriteLine(SAAB.getTillverkare());
            //Console.WriteLine(SAAB.getModell());
            //Console.WriteLine(SAAB.getÅrsmodell());
            Fordon SAAB = new Fordon("SAAB", "95a", 99);

            Console.WriteLine(SAAB);
        }
예제 #2
0
        public static void Main(string[] args)
        {
            Fordon SAAB = new Fordon("SAAB", "93a", 99);

            Console.WriteLine(SAAB);
        }