'Operator '==' cannot be applied to operands of type 'string[]' and 'string'
I'm using ef core c# and my code is,
componentName = Component_Tables.FirstOrDefault(x => x.Value == CurrentTable).Key;
It gives me the following error.
"Operator '==' cannot be applied to operands of type 'string[]' and 'string'"
Please help
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
