ソースコード using System.Collections.Generic; using System.Linq; public static class IEnumerableExtensions { public static bool IsEmpty<TSource>( this IEnumerable<TSource> source ) { return !source.Any(); } } 使い方 var array = new int[ 0 ]; if ( array.IsE</tsource></tsource>…