Snippet: interface indexer

property value
IDE Visual Studio
Language C#
Title interface indexer
Shortcut _ir
Description interface indexer declaration
Snippet Types Expansion

Placeholders

Identifier Tooltip Default Value Editable Function Type Name
_type Indexer type T yes
parameter Indexer parameter int index yes

Code

T this[int index] { get; set; }