Skip to content

Instantly share code, notes, and snippets.

@karno
Created February 25, 2014 13:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save karno/9208590 to your computer and use it in GitHub Desktop.
Save karno/9208590 to your computer and use it in GitHub Desktop.
for (int i = 0; i < 1; i++)
{
Enumerable.Range(-3, 7)
.Select(v => 4 - Math.Abs(v))
.Select(v => new String('*', v))
.ToList()
.ForEach(Console.WriteLine);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment