Convert generic type definition strings from C# style to CLR style

Posted by SztupY on Stack Overflow See other posts from Stack Overflow or by SztupY
Published on 2010-05-27T23:25:42Z Indexed on 2010/05/27 23:31 UTC
Read the original article Hit count: 244

Filed under:
|
|
|
|

I want to convert a C# style generic type string, like

System.Dictionary<System.String, System.String>

to it's CLR equivalent:

System.Dictionary`1[System.String, System.String]

and back. Is there an easy way to do this, or do I have to resort to string manipulation?

© Stack Overflow or respective owner

Related posts about c#

Related posts about string