static void Main(string[] args)
        {
            Guarda3 <string> keep3Strings = new Guarda3 <string>();
            Guarda3 <float>  keep3Floats  = new Guarda3 <float>();

            keep3Strings.SetItem(0, "Ola");
            keep3Strings.SetItem(2, "Adeus");

            keep3Floats.SetItem(1, 3.4f);

            foreach (string s in keep3Strings)
            {
                Console.WriteLine($"'{s}'");
            }

            foreach (float f in keep3Floats)
            {
                Console.WriteLine($"'{f}'");
            }
        }
        private static void Main(string[] args)
        {
            Guarda3 <string> g3s = new Guarda3 <string>();
            Guarda3 <float>  g3f = new Guarda3 <float>();

            g3s.SetItem(0, "Olá");
            g3s.SetItem(2, "Adeus");

            g3f.SetItem(2, 54.6f);

            Console.WriteLine("Strings");
            foreach (string s in g3s)
            {
                Console.WriteLine($"\t{s}");
            }

            Console.WriteLine("Floats");
            foreach (float f in g3f)
            {
                Console.WriteLine($"\t{f}");
            }
        }