Snippet: private read-only field

property value
IDE VS Code
Language C#
Title private read-only field
Shortcut prf
Description private read-only field declaration

Placeholders

Identifier Tooltip Default Value
_type Field type T
name Field name FieldName

Code

private readonly T FieldName;