CSharp examples for System.Collections.Generic:IEnumerable
Is IEnumerable Empty
using System.Text.RegularExpressions; using System.Collections; using System;//from w ww .j a v a2 s . co m public class Main{ public static bool IsEmpty(this IEnumerable enumerable) { foreach (object o in enumerable) { return false; } return true; } }