Created
August 23, 2013 01:50
-
-
Save davidsavagejr/6314753 to your computer and use it in GitHub Desktop.
A basic object with an enum property.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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