I am working on code generation and ran into a snag with generics. Here is a \"simplified\" version of what is causing me issues.
Dictionary
string text = dictionary.ToString();
provides almost what you are asking for:
System.Collections.Generic.Dictionary`2[System.String,System.DateTime]