public override string ToString() { var result = "Name: " + Name + "\n"; result += "Desc: " + Desc + "\n"; result += "Type: " + Type + "\n"; return(Requests.Aggregate(result, (current, pageRequest) => current + (pageRequest + "\n"))); }
public override string ToString() { String result = Requests.Aggregate(String.Empty, (current, item) => current + (item.ToString() + '\n')); return(String.Format("Сайт: {0}\nЗапросы:\n{1}\n", SiteUrl, result)); }