Snippet: private static read-only field

property value
IDE Visual Studio
Language C#
Title private static read-only field
Shortcut psrf
Description private static 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 static readonly T FieldName;