Hi folks,
i'm trying to find out if a string value EndsWith
another string. This 'other string' are the values from a collection. I'm trying to do this as an extension method, for strings.
eg.
var collection = string[] { "ny", "er", "ty" };
"Johnny".EndsWith(collection); // returns true.
"Fred".EndsWith(collection); // returns false.