我想检查引用类型是否为null。我看到有两个选择(_settings是引用类型FooType):
if (_settings == default(FooType)) { ... }
和
if (_settings == null) { ... }
这两者有什么不同的表现?
用户名或邮箱地址
密码