使用NUnit和XML注释编写C#代码时,是否需要首选格式?
将:
using NUnit.Framework;
namespace FooBar{
/// <summary>
/// The <c>foo</c> class tests bar
/// </summary>
[TestFixture]
public class Foo{
}
}
Run Code Online (Sandbox Code Playgroud)
是正确的还是:
using NUnit.Framework;
namespace FooBar{
[TestFixture]
/// <summary>
/// The <c>foo</c> class tests bar
/// </summary>
public class Foo{
}
}
Run Code Online (Sandbox Code Playgroud)
会更好?