Table of Contents

Class CAIndexesWithNull

Namespace
SunamoCollectionsIndexesWithNull
Assembly
SunamoCollectionsIndexesWithNull.dll

Provides utility methods for finding indexes of null or empty elements in collections

public class CAIndexesWithNull
Inheritance
CAIndexesWithNull
Inherited Members
Extension Methods

Methods

IndexesWithNull(IList)

Returns a list of indexes where elements are null

public static List<int> IndexesWithNull(IList list)

Parameters

list IList

The collection to search for null elements

Returns

List<int>

A list of indexes where elements are null

IndexesWithNullOrEmpty(IList)

Returns a list of indexes where elements are either null or empty strings

public static List<int> IndexesWithNullOrEmpty(IList list)

Parameters

list IList

The collection to search for null or empty elements

Returns

List<int>

A list of indexes where elements are null or have empty string representation