Skip to content

Instantly share code, notes, and snippets.

@bpatra
Last active December 5, 2020 18:25
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 bpatra/99adafee10e3866c4bd1 to your computer and use it in GitHub Desktop.
Save bpatra/99adafee10e3866c4bd1 to your computer and use it in GitHub Desktop.
The BuildUnion method //and use it with all indices from 1 to countnly for even lines.
public BuildUnionEven(int count)
{
var rowIndices = Enumerable.Range(1, 2*count+1).Where(k => k % 2 == 1);
Range range = Union(rowIndices);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment