I want this
namespace SampleCode
{
public class MyClass
{
}
}
to become this
namespace SampleCode;
public class MyClass
{
}
with the help of StyleCop.
Is there any standard or custom rule for this?
I want this
namespace SampleCode
{
public class MyClass
{
}
}
to become this
namespace SampleCode;
public class MyClass
{
}
with the help of StyleCop.
Is there any standard or custom rule for this?
Copyright © 2021 Jogjafile Inc.
In the .editorconfig file, add the following rule
Documentation: https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0160-ide0161