Created
September 30, 2010 20:23
-
-
Save mhinze/605256 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static string Prettify(this Type type) | |
{ | |
var provider = new Microsoft.CSharp.CSharpCodeProvider(); | |
return provider.GetTypeOutput(new System.CodeDom.CodeTypeReference(type)); | |
} |
Author
mhinze
commented
Sep 30, 2010
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment