seating() public method

public seating ( string attendees ) : string[]
attendees string
return string[]
Example #1
0
 static void Main(string[] args)
 {
     PartySeats x = new PartySeats();
     string[] names = { "ABC girl", "BXC boy", "ALJS girl", "SDF boy", "AEEEE boy", "ABEEE boy" };
     Console.WriteLine(string.Join(" ", x.seating(names)));
     Console.ReadLine();
 }
Example #2
0
        static void Main(string[] args)
        {
            PartySeats x = new PartySeats();

            string[] names = { "ABC girl", "BXC boy", "ALJS girl", "SDF boy", "AEEEE boy", "ABEEE boy" };
            Console.WriteLine(string.Join(" ", x.seating(names)));
            Console.ReadLine();
        }