C# program on empty collection of nullable.

Amatya
Posted by Amatya under C# category on | Points: 40 | Views : 217
C# program on empty collection of nullable.
var dnfList = new List<int?>();      
double? dnfAnswer = dnfList.Average();

Result
null

Comments or Responses

Login to post response