Snippet: private read-only indexer

property value
IDE VS Code
Language C#
Title private read-only indexer
Shortcut prir
Description private read-only indexer declaration

Placeholders

Identifier Tooltip Default Value
_type Indexer type T
parameters Parameters int index
value Value value

Code

private T this[int index] {
	get { return value; }
}