I have a linq statement with a where at the end
finalResult has to classes in it
id 1 : 2
IsPosted false : false
Amt 22 : 52
PaidAmt 22 : 34
This returns an empty enumerable
var a = finalResult.Where(x =>x.IsPosted.HasValue && !x.IsPosted.Value && x.Amt > x.PaidAmt);
its only when i add these that it return nothing
x.IsPosted.HasValue && !x.IsPosted.Value
Is there any way i can get round this
Please