Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ViIvanov/3edb394c66fef334781a to your computer and use it in GitHub Desktop.
Save ViIvanov/3edb394c66fef334781a to your computer and use it in GitHub Desktop.
using System;
using System.Linq;
static class Program
{
static void Main(string[] args) {
var lengths = args.Select(item => item.Length);
// "lengths" can be enumerated a few times, depending on a size of "args".
var xxx = args.Select(item => lengths.Select(x => x));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment