What is the reason behind “non-static method cannot be referenced from a static context”? [duplicate] Original close reason(s) were not resolved