ソースコード using System.Collections.Generic; public static class IListExtensions { public static bool IsEmpty<T>( this IList<T> self ) { return self.Count == 0; } } 使い方 var x = new int[ 0 ]; var y = new int[ 1 ]; x.IsEmpty(); // True y.IsEm</t></t>…
引用をストックしました
引用するにはまずログインしてください
引用をストックできませんでした。再度お試しください
限定公開記事のため引用できません。