title: How to convert a non-nullable type to a nullable type?
body: <p>Is it possible to convert a non-nullable value type known only at runtime to nullable? In other words:</p>
  
  <pre><code>public Type GetNullableType(Type t)
  {
      if (t.IsValueType)
      {
          return typeof(Nullable&lt;t&gt;);
      }
      else
      {
          throw new ArgumentException();
      }
  }
  </code></pre>
  
  <p>Obviously the <code>return</code> line gives an error. Is there a way to do this? The <code>Type.MakeGenericType</code> method seems promising, but I have no idea how to get a unspecified generic <code>Type</code> object representing <code>Nullable&lt;T&gt;</code>. Any ideas?</p>