Hi,
Hope you’re doing well!
That’s just Visual Studio’s IntelliSense acting up — it can be a bit unreliable sometimes, so no need to worry.
What really matters is the compile output. If there were no errors there, you’re good to go.
As you can see, everybody goes through it, you are not alone.
Visual Studio gives errors on empty project
Hope that helps — take care!