❔ new() not available in C# 7.3
my error is : error CS8370: Feature 'target-typed object creation' is not available in C# 7.3. Please use language version 9.0 or greater.
I dont know how can I do that in C# 7.3
4 Replies
>Please use 9.0 or greater
if for some reason you can't update to 9.0 or greater, just initialize objects this way
thank you it works
yes i cant update for this project
Was 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.