I have this code:
var contractsID = contracts.Select(x => x.Id);
int?[] contractsIDList = contractsID.ToArray();//for debug
In this line:
int?[] contractsIDList = contractsID.ToArray();//for debug
I get this error:
Can not implicitly convert type int[] to int
what i try to do is to make contractsIDList Nullable type.
How to make int array Nullable?