The process of installing, configuring, and customizing Visual Studio to support development workflows across languages, platforms, and workloads.
Thanks for reaching out. In Visual Studio, the “startup environment” doesn’t determine whether you can use C++ or C#. The language is defined by the project type, not by the startup selection.
If your current project is a C++ project, you cannot use using System; because that is C# syntax, not C++. There’s no way to switch a C++ project into C# just by changing startup settings.
What you need to do instead
Option 1: Add a C# project to the solution (recommended)
- Right‑click the solution → Add → New Project
- Choose a C# project type (Console App, Class Library, etc.)
- Set it as startup:
- Right‑click the C# project → Set as Startup Project
- Now you can use
using System;normally.
Option 2: Create a new C# project If you only need C#, create a new C# project and work there. C++ and C# are separate project types and can’t be switched in place.
Important clarification
- You do not need to reload or reinstall Visual Studio
- You cannot convert a C++ project into C# via startup settings
- Mixed C++ and C# is supported only as separate projects in the same solution
Summary: Startup selection only controls which project runs. To use C# (using System;), you must work in a C# project.
Let me know if you need any further help with this. I will be happy to assist. If you find this helpful, Kindly mark the provided solution as "Accept Answer", so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.