Closed stakx closed 6 years ago
For example:
var type = typeof(IEnumerable<>); Console.WriteLine(type.GetFormattedName()); // => IEnumerable<T>
Since the type parameter name T isn't mentioned in C# code, it probably shouldn't end up in the formatted string, either.
T
Done in 2e23fb69d0d946fabd49ebb34baefafccd6b33a1.
For example:
Since the type parameter name
T
isn't mentioned in C# code, it probably shouldn't end up in the formatted string, either.