Last active
September 12, 2018 21:50
-
-
Save PhiHuyHoang/383228f4a8875efde90180301c69293a to your computer and use it in GitHub Desktop.
method constructor function example C#
This file contains 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
List<string> filtered = log.Filter(entry => entry.ToLower().Contains("apache")); // Actually this is LinQ, very cool. I'll talk about this later. | |
foreach(string s in filtered) | |
{ | |
Console.WriteLine(s); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment