Skip to content

Instantly share code, notes, and snippets.

@RobertMischke
Created May 23, 2011 14:06
Show Gist options
  • Save RobertMischke/986744 to your computer and use it in GitHub Desktop.
Save RobertMischke/986744 to your computer and use it in GitHub Desktop.
Freude im Dev-Team :-)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication2
{
class Program
{
static Program() { typeof(string).GetField("Empty").SetValue(null, "HaaaHa"); }
static void Main(string[] args)
{
var foo = String.Empty;
Console.WriteLine(foo);
Console.ReadLine();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment