[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-list
Subject:    Re: [Mono-list] Embedded API: create System.Nullable<T>
From:       "Edward Ned Harvey (mono)" <edward.harvey.mono () clevertrove ! com>
Date:       2013-10-30 13:57:36
Message-ID: 06e4fb82906f4a7386c6bbdcc17bf383 () BL2PR08MB065 ! namprd08 ! prod ! outlook ! com
[Download RAW message or body]

> From: mono-list-bounces@lists.ximian.com [mailto:mono-list-
> bounces@lists.ximian.com] On Behalf Of jonathan@mugginsoft.com
> 
> 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.

Because this seems so simple, I wonder if I'm misunderstanding the question in some \
way...  You can just use the question mark.

int? foo = null;
_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic