Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# override index operator

public int this[int key]
{
    get => GetValue(key);
    set => SetValue(key, value);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #override #index #operator
ADD COMMENT
Topic
Name
4+2 =