how to call static method inside non static method in c# ?
static
non static
c#
Interviewer gave me scenario :
class class1 { pub
if you call the method in the some class you just call it like this
public void method2() { method1(); }
but if it should been called from another class you have to precede it with the name of the class
public void method2() { class1.method1(); }