[]
Returns true if specified item exists in the wrapped list.
public bool Contains(DateTime item)
Type | Name | Description |
---|---|---|
DateTime | item | An item to search for. |
Type | Description |
---|---|
bool | True if item exists in the wrapped list. |
Returns true if either of specified items exists in the wrapped list.
public bool Contains(DateTime[] days)
Type | Name | Description |
---|---|---|
DateTime[] | days | An array of DateTime values to search for. |
Type | Description |
---|---|
bool | True if at least one of specified items exists in the wrapped list. |
Returns true if either of specified items exists in the wrapped list.
public bool Contains(IList<DateTime> days)
Type | Name | Description |
---|---|---|
IList<DateTime> | days | A list of DateTime values to search for. |
Type | Description |
---|---|
bool | True if at least one of specified items exists in the wrapped list. |