Hello @Idan-Hi Levayev ,
Welcome to Microsoft Q&A forum.
You need to create a C# project(for example C# Console application project) and write C# codes then run(build and run) it in VS, after that it will run. You can’t run a single .cs file in VS, so you saw "attach to process" instead of "Run".
See this document: Start from a project for more details.
Feel free to contact us.
Best Regards,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.