Skip to content

Instantly share code, notes, and snippets.

@escoz
Created December 10, 2010 22:02
Show Gist options
  • Save escoz/736895 to your computer and use it in GitHub Desktop.
Save escoz/736895 to your computer and use it in GitHub Desktop.
teste
// stupid unless keyword for C#
// lets say I want to print items if they're are not editable:
// you can do:
foreach (var i in items) {
if (!i.editable) print(i);
}
// or
foreach (var i in items) {
unless (i.editable) print(i);
}
// edit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment