You need to create the object if you wanted to use instance members of a class.
Class1 obj = new Class1();
obj.Yehaa();
You should also probably take a walk around
You need to create the object if you wanted to use instance members of a class.
Class1 obj = new Class1();
obj.Yehaa();
You should also probably take a walk around