I know it is a strange question did someone have had a case where a C# object return null after newing it up?
Is this a trick question?
int? i = new int?();
if (i == null)
Console.WriteLine("It's null!");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With