Snippet: private static read-only property

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

Placeholders

Identifier Tooltip Default Value Editable Function Type Name
_type Property type T yes
name Property name PropertyName yes
value Value to return value yes

Code

private static T PropertyName {
	get { return value; }
}