# the code style: read by the editor, the compiler and anyone who works on the project
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.cs]
# opening brace on the same line: class Program {
csharp_new_line_before_open_brace = none
# the System usings first
dotnet_sort_system_directives_first = true
# var only when the type is already visible on the right
csharp_style_var_for_built_in_types = false:suggestion
csharp_style_var_when_type_is_apparent = true:suggestion
