VS code right click menu new class c#

If you want those options in your right click menu, then you need to install the "C# Extensions" extension from the marketplace.

The link is here

Keep in mind this is just a shortcut extension, it is not actually required.

You can simply choose new file and give it the .cs extension if you want a new C# file.


It seems "C# Extensions" is no longer maintained. I tried it and it was not reliable. Sometimes it worked, sometimes it didn't.

But there is a similar extension called "VS Sharper for C#", see here.