Snippet: public static read-only field

property value
IDE Visual Studio
Language C#
Title public static read-only field
Shortcut srf
Description public 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

public static readonly T FieldName;