Calling an Instance Method on an Object

   





using System;
public class MainClass {
    public static void Main() {
        string name = "Joe";
        Console.WriteLine(name.ToUpper());
    }
}