Copy of defical c# (for playing) from https://code.google.com/p/defical/