Skip to content

Instantly share code, notes, and snippets.

@bpatra bpatra/BuildUnionEvenLines Secret
Last active Dec 26, 2015

What would you like to do?
The BuildUnion method //and use it with all indices from 1 to count nly 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
You can’t perform that action at this time.