Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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
You can’t perform that action at this time.