IsCountableSequence Method
Definition
IsCountableSequence(IEnumerable<int>)
Determines whether the specified source is a sequence of countable integrals (hence, integrals being either incremented or decremented with the same cardinality through out the sequence).
public static bool IsCountableSequence(IEnumerable<int> source)
Parameters
sourceIEnumerable<int>The value to test for a sequence of countable characters.
Returns
- bool
trueif the specifiedsourceis a sequence of countable integrals (hence, integrals being either incremented or decremented with the same cardinality through out the sequence); otherwise,false.
IsCountableSequence(IEnumerable<long>)
Determines whether the specified source is a sequence of countable integrals (hence, integrals being either incremented or decremented with the same cardinality through out the sequence).
public static bool IsCountableSequence(IEnumerable<long> source)
Parameters
sourceIEnumerable<long>The value to test for a sequence of countable characters.
Returns
- bool
trueif the specifiedsourceis a sequence of countable integrals (hence, integrals being either incremented or decremented with the same cardinality through out the sequence); otherwise,false.
IsCountableSequence(string)
Determines whether the specified value is a sequence of countable characters (hence, characters being either incremented or decremented with the same cardinality through out the sequence).
public static bool IsCountableSequence(string value)
Parameters
valuestringThe value to test for a sequence of countable characters.
Returns
- bool
trueif the specifiedvalueis a sequence of countable characters (hence, characters being either incremented or decremented with the same cardinality through out the sequence); otherwise,false.