.B.C"">

dadhi/CSharpTypePrinter

Prints System.Type object as a valid C# literal, e.g. typeof(A.B.C) as a "A.B.C"

20
/ 100
Experimental

This tool helps C# developers accurately represent any .NET System.Type object as a string of valid C# code. You provide a System.Type object, and it outputs a string like "A.B.C" or "Blah<>". This is particularly useful for C# developers working with reflection, code generation, or serialization where precise type representation is critical.

No commits in the last 6 months.

Use this if you are a C# developer who needs to reliably convert complex System.Type objects, especially those with nested generics, into their exact C# code string representation.

Not ideal if you need to display type names for end-user interfaces or logging, where a simpler, more human-readable format is preferred over strict C# code syntax.

C# development .NET reflection code generation type serialization developer tooling
Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 4 / 25
Maturity 16 / 25
Community 0 / 25

How are scores calculated?

Stars

8

Forks

Language

C#

License

MIT

Last pushed

Oct 15, 2020

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/dadhi/CSharpTypePrinter"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.