using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Drawing;
using System.Drawing.Imaging;
publicstaticclass CollectionsExtensions
{
publicstatic string ToStringAll<T>(this List<T> list)
{
StringBuilder sb = new StringBuilder();
foreach (var item in list)
{
sb.Append(item.ToString());
sb.Append(Environment.NewLine);
}
return sb.ToString();
}
}