【发布时间】:2023-03-27 16:55:01
【问题描述】:
我不记得我在哪里看到这个奇怪的`1(单勾号和数字 1)出现在类名旁边,但它在调试时检查变量值时出现,最近出现在答案中this question.
targetClass.BaseTypes.Add(new CodeTypeReference { BaseType = "DataObjectBase`1[Refund]", Options = CodeTypeReferenceOptions.GenericTypeParameter })
我很好奇:这是从哪里来的,为什么会在那里?
【问题讨论】:
标签: c# .net generics clr types