Snippet: public read-only auto property

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

Placeholders

Identifier Tooltip Default Value
_type Property type T
name Property name PropertyName

Code

public T PropertyName { get; }