Skip to content

Instantly share code, notes, and snippets.

@jonpryor
Created March 12, 2014 14:36
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 jonpryor/9508218 to your computer and use it in GitHub Desktop.
Save jonpryor/9508218 to your computer and use it in GitHub Desktop.
enum Test
{
Hello,
Heya
}
var test = Test.Hello;
Console.WriteLine(test.GetType().IsEnum);
Console.WriteLine("Property Count: {0}", test.GetType().GetProperties().Length);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment