You can also transform fields into properties with the Encapsulate Field refactoring - set your caret to a field and press Alt+Enter and then choose Encapsulate Field.

Generate properties that will expose selected fields

In the editor, set the caret at the type name or within a type at the line where you want to insert properties that will expose selected fields. If the caret is on the type name, the generated code will be added in the beginning of the type declaration.

Press Alt+Insert or choose Code | Generate... from the main menu. Alternatively, you can press Ctrl+Shift+A, start typing the command name in the popup, and then choose it there.

In the Generate popup, select Properties / Read-only Properties.

In the Generate dialog that appears, select fields to generate properties for.

Optionally, use the following controls that are applied to all generated properties:

Read-only defines whether to generate properties as read-only or not. If you choose Automatic, JetBrains Rider will generate only getters for read-only fields, and both getters and setters for any other fields. If you have selected Read-only Properties in the Generate popup, the selector is set to Yes, but you can change it if necessary.

Notify on property changes (if applicable) If your class implements the INotifyPropertyChanged or inherits from a class that supports property change notifications (for example, Prism’s NotificationObject) and the method that notify property change is decorated with the [NotifyPropertyChangedInvocator] attribute, you can choose to implement properties with change notification calls.

Click OK to complete the wizard.

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