To set up C# development in VS Code on macOS, you should install the C# Dev Kit extension and the .NET SDK. The C# Dev Kit enhances your experience with features like solution management, integrated testing, and improved language services.
Details at https://code.visualstudio.com/docs/languages/csharp and https://code.visualstudio.com/docs/languages/dotnet
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin