Created
December 11, 2015 18:33
-
-
Save Collonville/f274ff40c1ad52557de4 to your computer and use it in GitHub Desktop.
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
static void Main(string[] args) | |
{ | |
List<int> foo = new List<int> { 6, 1, 4, 9, 2 }; //list | |
var boo = foo.Select(x => x * x); //power | |
boo.ToList().ForEach(x => Console.WriteLine(x)); //show | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment