public override string ToString()
        {
            string eredmeny = "";

            eredmeny += Irsz.ToString();
            eredmeny += " - ";
            eredmeny += Varos;
            eredmeny += " - ";
            eredmeny += Megye;
            return(eredmeny);
        }
Example #2
0
 public override string ToString()
 {
     return(Nev.PadRight(30) + "\t" + Neptun + "\t" + Irsz.ToString().PadRight(5) + "\t" + Nem.PadRight(5) + "\t" + Kartya.PadRight(30) + "\t" + GSzoba.PadRight(30) + "\t" + Szoba.ToString().PadRight(4) + "\t" + Garda.PadRight(6) + "\t" + Szin.ToString());
 }