how do you call a method in c# code example Example: how to call a method from a class C# classname.methodname();