I\'m trying to use the this
keyword in a static method, but the compiler won\'t allow me to use it.
Why not?
Static methods are Class specific and not instance specific. "this" represents an instance of the class at runtime, so this can't be used in a static context because it won't be referencing any instance. Instead the class's name should be used and you would only be able to access static members in the class