Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

matching string on a list of strings

Language: Layout:
+ ] Show input
Compilation time: 0,25 sec, absolute running time: 0,12 sec, cpu time: 0,11 sec, average memory usage: 16 Mb, average nr of threads: 3, absolute service time: 0,41 sec 
fork mode |  history
exists: True
exists: True
firstMatch: foo
firstMatch: foo
firstMatch: foo
firstMatch: foo
exception: System.InvalidOperationException: Sequence contains no matching element
   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
   at Rextester.Program.Main(String[] args)
firstMatch is null
matchingList: foo, foobar

    
                
λ
.NET NoSQL database for rapid development