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
s
stringString to test.
items
IEnumerable<T>Collection.
Returns
Type Parameters
T
Type of the item in the collection.