In C #, what is the default value of an instance variable of a class of type int? ?
For example, in the following code, what value will MyNullableInt be if it is never assigned explicitly?
class MyClass { public int? MyNullableInt; }
(It seems likely that the answer will almost certainly be either null or 0 , but which one is it?)
c #
Jon Schneider Mar 19 '15 at 19:59 2015-03-19 19:59
source share