Send comments on this topic. |
|
Glossary Item Box
Cause
Rule Description
Tabs should not be used within C# code, because the length of the tab character can vary depending upon the editor being used to view the code. This can cause the spacing and indexing of the code to vary from the developer’s original intention, and can in some cases make the code difficult to read.
For these reasons, tabs should not be used, and each level of indentation should consist of four spaces. This will ensure that the code looks the same no matter which editor is being used to view the code.
How to Fix Violations
© Microsoft Corporation. All Rights Reserved.