Jonathan,

On 23.10.2013 17:37, jonat...@mugginsoft.com wrote:
What is the recommended way to create an instance of a nullable type, such as 
System.Nullable<int64>?

I would prefer a method that used the embedded API as opposed to a C# helper 
method.


There is still no API for this, AFAIK, so you must resort to
using System.Type.MakeGenericType().

This is pretty much the same procedure as discussed here:

http://www.mail-archive.com/mono-list@lists.ximian.com/msg37275.html

Robert


_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to