JetBrains Rider
 
2024.3
Get JetBrains Rider

Generate Properties

Last modified: 25 September 2024

JetBrains Rider will help you generate properties for all fields that you want to expose.

In the example below, this command is used to generate properties for _radius and _center fields.

This command generates properties leaving the original fields intact. If necessary, you can convert the generated properties to auto-implemented properties by pressing AltEnter on any of the properties:

'Convert to auto-property' quick-fix