title: Default Guid Formatting
body: <p>Consider the following code.</p>
  
  <pre><code>var guid = Guid.NewGuid();
  var a = guid.ToString();
  var b = guid.ToString("N");
  </code></pre>
  
  <p>The value of <code>a</code> looks like <code>7c9e6679-7425-40de-944b-e07fc1f90ae7</code>.<br>
  The value of <code>b</code> looks like <code>7c9e6679742540de944be07fc1f90ae7</code>.</p>
  
  <p>Is there a way to tell .NET that I want the second form, with format string <code>N</code>, by default?</p>
  
  <p>Default behaviors for <code>ToString</code> on other types, such as <code>DateTime</code>, are tied to the current culture. Is the default behavior for <code>Guid</code> possibly tied to the culture in a similar way? (I'm doubtful.)</p>
  
  <p>For compatibility reasons, I need GUID string representations without dashes to be the norm throughout my codebase, but it's very easy to forget the <code>N</code> parameter without any warning.</p>