public override string ToString() { if (AS == "") { return(IP); } var result = new StringBuilder(); result.Append(IP.PadRight(20) + ' '); result.Append(AS.PadRight(20) + ' '); result.Append(Provider.PadRight(60) + ' '); result.Append(Country); return(result.ToString()); }