namespace KlassenStrukturen
{
    internal struct Kontakt(int p, string o, string s, int h,
        Telefon t, Telefon f)
    {
        public int plz = p;
        public string ort = o;
        public string strasse = s;
        public int hausnummer = h;
        public Telefon tel = t, fax = f;

        public override readonly string ToString() => $"{strasse} " +
            $"{hausnummer}\n{plz} {ort}\nTel: {tel}\nFax: {fax}";
    }
}
