title: What is the difference between "x is null" and "x == null"?
body: <p>In C# 7, we can use</p>
  <pre><code>if (x is null) return;
  </code></pre>
  <p>instead of</p>
  <pre><code>if (x == null) return;
  </code></pre>
  <p>Are there any advantages to using the new way (former example) over the old way?</p>
  <p>Are the semantics any different?</p>
  <p>Is it just a matter of taste? If not, when should I use one over the other?</p>
  <p>Reference: <a href="https://devblogs.microsoft.com/dotnet/whats-new-in-csharp-7-0/" rel="noreferrer">What’s New in C# 7.0</a>.</p>