コード例 #1
0
 public string AddHabitant(Habitant habitant, Flat flat, Entrace entrace1, Entrace entrace2, BlockOfFlats blockOfFlats)
 {
     return(habitant + "  -  " + blockOfFlats.ToString() + "  -  " + "Vchody: " + entrace1.ToString() + "  -  " + entrace2.ToString() + ", " + "Byt: " + flat.Tostring());
 }
コード例 #2
0
 public string GetInfoAboutFlat(Habitant habitant, Flat flats)
 {
     return($"{habitant.ToString()}  -  {flats.Tostring()}");
 }