0

Is it possible to create static class with [] Operator?

On non static classes the syntax is pretty simple:

   public V this[K key]
        {
            get
            {
               //get stuff...
            }
            set
            {
               //set stuff....
            }
        }

However, I can't find a way to this on static objects.

SimSimY
  • 3,616
  • 2
  • 30
  • 35

0 Answers0