Cómo usar Formateador de C#
- Pega el código C#.
- Copia el resultado.
Sobre Formateador de C#
Aplica indentación y formato consistente a código C#.
Formatea código C# para que sea legible.
Aplica indentación y formato consistente a código C#.
It uses the usual layout: four-space indent, opening brace on the same line. For strict control use an .editorconfig with dotnet format.
Yes. Regular, verbatim and interpolated strings and both comment types are skipped by the formatter.
No. It works on the text layout and does not compile the code.
Lines are not wrapped. Statements stay on one line even if they are long.