Calling a Class Method on a Class : Object Instance : Class Interface C# Source Code


Custom Search

C# Source Code » Class Interface » Object Instance »

 

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);
    }
}


       
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Class Interface
» Object Instance