In reply to Have_A_Doubt:
See Why is my code not failing when accessing non static method from not static class? | Verification Academy