I have a list of objects. Is there a way to iterate over the list and check whether any of their properties is not defined?
I have tried something like
list.FindAll(p => p.property == null);
but as a desired property is double I am getting a warning, that the expression will always evaluate to false.
Value types can never be null so in the instance of saying
You're going to see the '0' get written out.
If you're interested you should check out https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/value-types