title: default value for generic type in c#
body: <p>The docs for <a href="http://msdn.microsoft.com/en-us/library/bb347013.aspx" rel="noreferrer">Dictionary.TryGetValue</a> say:</p>
  
  <blockquote>
    <p>When this method returns, [the value argument] contains the value associated with the specified key, if the key is found; otherwise, the <strong>default value for the type of the value parameter</strong>. This parameter is passed uninitialized.</p>
  </blockquote>
  
  <p>I need to mimic this in my class. <em>How do I find the default value for type T?</em></p>
  
  <hr>
  
  <p>How can this question be modified to make it show up in the search?</p>
  
  <p>Exact duplicate of <a href="https://stackoverflow.com/questions/367378/returning-a-default-value-c">Returning a default value. (C#)</a></p>