I was wondering why it is possible to do this in C# 7.0:
int? test = 0;int test2 = test ?? throw new Exception("Error");..but not this:
int? test = 0;int test2 = test ?? return;Can someone explain that?
I was wondering why it is possible to do this in C# 7.0:
int? test = 0;int test2 = test ?? throw new Exception("Error");..but not this:
int? test = 0;int test2 = test ?? return;Can someone explain that?