Skip to content

Instantly share code, notes, and snippets.

@davidsavagejr
Created August 23, 2013 01:50
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 davidsavagejr/6314753 to your computer and use it in GitHub Desktop.
Save davidsavagejr/6314753 to your computer and use it in GitHub Desktop.
A basic object with an enum property.
public class BlogPost
{
public string Subject { get; set; }
public string Content { get; set; }
public DayOfWeek PostDat { get; set; }
}
public enum DayOfWeek
{
Sunday,
Monday,
Tuesday,
Wednesday,
Thursday,
Friday
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment