Linq
これがいいかな? linq www.npmjs.com あとは。。。。 linq.ts LinQ.ts by kutyel ts-linq ts-linq typescript-linq www.npmjs.com https://www.npmjs.com/package/typescript-linq linq-ts linq-ts
{1, 1, 1}のリスト using System.Linq; IList hogeList = null; hogeList = Enumerable.Repeat(1,3).ToList(); 1が3つ
int[] hoge = {}; Debug.Log(hoge.Length); hoge.Last (); InvalidOperationException: Operation is not valid due to the current state of the object System.Linq.Enumerable.Last[Int32] (IEnumerable`1 source)