Created
February 2, 2015 20:51
-
-
Save FLGMwt/1a28712484a12603b6c7 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
void Main() | |
{ | |
var words = new List<string>(); | |
Exclaimer exclaimer = null; | |
var exclaimedWords = words.Select(a => exclaimer.Exclaimify(a)).ToList(); | |
var moarExclaimedWords = words.Select(exclaimer.Exclaimify).ToList(); | |
} | |
public class Exclaimer | |
{ | |
public string Exclaimify(string words) | |
{ | |
return words + "!!!"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment