Created
December 12, 2012 22:42
-
-
Save hazzik/4272336 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class StringExtensions | |
{ | |
public static bool Contains(this string self, string value, StringComparison comparisonType) | |
{ | |
return self.IndexOf(value, comparisonType) != -1; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment