JetBrains Rider
 
Get JetBrains Rider
You are viewing the documentation for an earlier version of JetBrains Rider.

Code Syntax Style: Built-In Type References

Last modified: 18 May 2022

The C# type keywords and .NET Framework (CLR) type names are interchangeable for built-in C# types. If you prefer to stick to one or another style for built-in type names, JetBrains Rider can help you maintain your preference.

You can maintain separate styles for static member access (for example, CLR type names — var str = String.Empty;) and for locals, members, and parameters (for example, keywords — void Foo(string str){ }.

JetBrains Rider helps you enforce preferences for C# built-in types in the existing code and takes your preferences into account when it produces new code with code completion and code generation features, applies code templates and performs refactorings.