你的位置: 码友网首页 / 资讯源列表 / C#: Why You Should Prefer the is Keyword Over the == Operator

关于[C#: Why You Should Prefer the is Keyword Over the == Operator]的摘要:

In the previous blog post you learned about different ways to do a null check. The traditional way is to use the == operator. Since C# 7, you can use the is keyword to do a null check...

原文地址: https://www.thomasclaudiushuber.com/2020/03/19/c-why-you-should-prefer-the-is-keyword-over-the-operator/

收录时间: 2020-03-21 浏览量: 1905 分类: C#开发

| 0 收藏 | 0