using System.Collections.Generic; namespace VCommon.Collections { public static class CollectionExtensionMethod { public static bool IsNullOrEmpty(this ICollection source) => source == null || source.Count <= 0; } }