Create a gist now

Instantly share code, notes, and snippets.

A time when the post increment operator is actually used to post increment
var colorIndex = 0;
var colorsDifferent = originalStarColors.Any(c => c != starColors[colorIndex++]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment