Skip to content

Instantly share code, notes, and snippets.

@philipproplesch
Created December 10, 2012 13:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save philipproplesch/4250457 to your computer and use it in GitHub Desktop.
Save philipproplesch/4250457 to your computer and use it in GitHub Desktop.
class Program
{
static void Main(string[] args)
{
typeof (DateTime)
.GetField("MaxValue")
.SetValue(DateTime.MaxValue, new DateTime(2012, 12, 21));
var endOfWorld = DateTime.MaxValue;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment