根据对此System.Type.Equals
StackOverflow 问题的公认答案,方法和之间存在差异System.Type operator ==
:
a runtime type (represented by the internal type RuntimeType), managed by
the CLR is not always the same as a Type, which can be extended. Equals
will check the underlying system type, whereas == will check the type itself.
在.NET for Windows Store Apps中,System.Type 运算符 ==不可用。
如何完全重现Windows 应用商店应用程序System.Type operator ==
中的功能?或者,特定的相等运算符功能是否与Windows 应用商店应用程序无关?System.Type