title: how to use generic in static class
body: <p>I found static generic classes but that not works on net framework 4.7</p>
  
  <p>Source:  <a href="http://joelabrahamsson.com/a-neat-little-type-inference-trick-with-c/" rel="nofollow noreferrer">http://joelabrahamsson.com/a-neat-little-type-inference-trick-with-c/</a></p>
  
  <pre><code>public class Wrapper
  {
      public static Wrapper&lt;T&gt; Create&lt;T&gt;(T wrapped)
      {
          return new Wrapper&lt;T&gt;(wrapped);
      }
  }
  </code></pre>
  
  <p>also found that but it says that the class is not a generic class
  <a href="https://stackoverflow.com/questions/31195524/c-sharp-generics-infer-type-of-static-factory-members">C# Generics - Infer Type of static factory members</a></p>