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
| /** | |
| * If you search the internet I haven't seen much of a solution for people being able to emulate | |
| * the LIKE operator in C# using LINQ with arrays. Most of the solutions run along the lines of working | |
| * with the contains() method. | |
| * But the LIKE operator is essentially somewhat of a dumbed down version of regex. | |
| * In this example I have several class names and I wanted to know which classes match a particular | |
| * pattern; the pattern I wanted to match was all classes ending with 'det' | |
| * And given below is the working example of this as a console application. | |
| **/ | |
| using System; |
NewerOlder