title: How to check if two GUID match in .NET (C#)?
body: <p>How to check if two <code>GUID</code> match?</p>
  
  <p>Using the following C# code, how to match if <code>g2</code> has same <code>GUID</code> as <code>g1</code>:</p>
  
  <pre><code>Guid g1 = new Guid("{10349469-c6f7-4061-b2ab-9fb4763aeaed}");
  Guid g2 = new Guid("{45DF902E-2ECF-457A-BB0A-E04487F71D63}");
  </code></pre>