public static void Release(List <T> toRelease) { ListPool <T> .CreateInstance(); ListPool <T> .instance.ReleaseAllocated(toRelease); }
public static List <T> Get() { ListPool <T> .CreateInstance(); return(ListPool <T> .instance.GetAllocated()); }