Calling a Class Method on a Class
using System; public class MainClass { public static void Main() { string firstName = "J"; string lastName = "R"; string name = string.Format("{0} {1}", firstName, lastName); Console.WriteLine(name); } }