I stumble upon a piece of C# code that I don't understand, like this:
public class ClassA {
public ClassB this[EnumA key] {
get {
ClassB b;
dictionaryB.TryGetValue(key, out b);
return b;
}
}
... }
I don't understand the syntax of "ClassB this[EnumA key] {...", what is it?