Snippet: public read-only property

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

Placeholders

Identifier Tooltip Default Value
_type Property type T
name Property name PropertyName
value Value to return value

Code

public T PropertyName {
	get { return value; }
}