AddTitle() public static method

public static AddTitle ( UnitManager, myUnit ) : void
myUnit UnitManager,
return void
 static void Main(string[] args)
 {
     var player1 = new UnitManager("john", "smith");
     var player2 = new UnitManager("jen", "doe");
     Other oT = new Other();
     Other.AddTitle(player1);
     Console.WriteLine("Player 1 name: " + player1.Name);
 }