Snippet: private read-only field

property value
IDE Visual Studio
Language C#
Title private read-only field
Shortcut prf
Description private read-only field declaration
Snippet Types Expansion

Placeholders

Identifier Tooltip Default Value Editable Function Type Name
_type Field type T yes
name Field name FieldName yes

Code

private readonly T FieldName;