Exemple #1
0
        private static void AddInCollections(
            IAdd collection,
            string[] input)
        {
            foreach (string element in input)
            {
                Console.Write(
                    $"{collection.AddElement(element)} ");
            }

            Console.WriteLine();
        }