3 ms·
I had a play with LINQ in C# to see how similar I could make it: After adding a couple of extension methods (to make the syntax more similar) I can write: f
by AndrewDucker 17y ago
I had a play with LINQ in C# to see how similar I could make it:
After adding a couple of extension methods (to make the syntax more similar) I can write:
from methodName in "".MethodNames()
where methodName.Grep("index",RegexOptions.IgnoreCase)
orderby methodName select methodName;
in C#
- AndrewDucker 17y agoAnd an even simpler one: "".MethodNames().Where(m => m.Grep("index",RegexOptions.IgnoreCase)).OrderBy(m => m)