A small problem. Any idea guys why this does not work?
int? nullableIntVal = (this.Policy == null) ? null : 1;
I am trying to return null
null
try this:
int? nullableIntVal = (this.Policy == null) ? (int?) null : 1;