Snippet: public read-only field

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

Placeholders

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

Code

public readonly T FieldName;