Skip to content

Instantly share code, notes, and snippets.

@carlosschults
Created December 21, 2017 01:32
Show Gist options
  • Save carlosschults/5c1afca9c8fbc6837257cc5d289df2e9 to your computer and use it in GitHub Desktop.
Save carlosschults/5c1afca9c8fbc6837257cc5d289df2e9 to your computer and use it in GitHub Desktop.
csharp8-2.cs
public extension IntExtension extends int
{
public bool Even => this % 2 == 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment