.net (http://csharppad.com/gist/10936199)