title: Create generic List<T> with reflection
body: <p>I have a class with a property <code>IEnumerable&lt;T&gt;</code>. How do I make a generic method that creates a new <code>List&lt;T&gt;</code> and assigns that property?</p>
  <pre><code>IList list = property.PropertyType.GetGenericTypeDefinition()
      .MakeGenericType(property.PropertyType.GetGenericArguments())
      .GetConstructor(Type.EmptyTypes);
  </code></pre>
  <p>I dont know where is <code>T</code> type can be anything</p>