Method StartsWith
StartsWith<T>(string, IEnumerable<T>)
Gets whether string s starts with one of the strings
specified in items collection.
public static bool StartsWith<T>(string s, IEnumerable<T> items)
Parameters
sstringString to test.
itemsIEnumerable<T>Collection.
Returns
Type Parameters
TType of the item in the collection.