Returns a Boolean indicating whether the Array is Empty (is Null or has a length of zero).
namespace System
{
///<summary>
/// Add functions to the array class.
///</summary>
publicstaticclass ArrayExtensions
{
/// <summary>
/// Returns a Boolean indicating whether the Array is Empty (is Null or has a length of zero).
/// Extension Added by dotNetExt.Array
/// </summary>
/// <param name="array">Required. The Array to check against.</param>
/// <returns>Returns a Boolean indicating whether the Array is Empty (is Null or has a length of zero).</returns>
publicstatic bool IsEmpty(this Array array)
{
return ((array == null) || (array.Length == 0));
}
}
}