Skip to content

Instantly share code, notes, and snippets.

@escoz
Created December 10, 2010 22:02
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 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