Is it possible to remove both namespace {} from Visual Studio template so the class will look like this when generated:
namespace X;
public class Class1
{
}
I changed the file content from \Microsoft Visual Studio\2022\Community\Common7\IDE\ItemTemplates\CSharp\Code\1033\Class and now it looks like this
namespace $rootnamespace$;
class $safeitemrootname$
{
}
but when creating a new class it looks like this
namespace X
{
public class Class1
{
}
}