I try to detect that AirCoNam1
field exist into airlines
list or no. I wrote this linq query but get error.
aFlightList
is a collection that contain AirCoNam1
field.
How to fix this?
aFlightList=aFlightList.Any( airlines.Contains(x=>x.AirCoNam1)).ToArray();