❔ string[]' does not contain a definition for 'FirstOrDefault' and no accessible extension method...
This is probably a simple mistake so I apologize in advance.
error CS1061: 'string[]' does not contain a definition for 'FirstOrDefault' and no accessible extension method 'FirstOrDefault' accepting a first argument of type 'string[]' could be found
3 Replies
(for one char i don't think you need the char array in the split)
This needs
System.Linq
but I accidently specified a very old build version which didn't include the needed libraries/functions. Upgrading from net4.0 to net7.0 solved the problemWas this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.