(http://csharppad.com/gist/1c5a12cc80174644296f)