Snippet: internal read-only indexer

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

Placeholders

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

Code

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