Domanda di colloquio di Kellton

difference between this and static

Risposta di colloquio

Anonimo

25 ott 2022

The this keyword is used as a reference to an instance. Since the static methods don't have (belong to) any instance you cannot use the this reference within a static method.