using System; using System.Collections.Generic; class Program { public static void Print(ICollection data) { Console.WriteLine($"Передана коллекция с типом { typeof(T).FullName } и с { data.Count } элементами."); } static void Main(string[] args) { Print(new int[12]); Print(new List()); Print(new HashSet>()); } }