Get Default Equality Comparer from Variable Type?

后端 未结 0 1683
傲寒
傲寒 2021-01-12 06:04

Is there a way to obtain the default comparer for a given type, where the type is variable and known only at runtime? Consider the following:

var RT = typeof(         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题