static void Main(string[] args)
        {
            BinarySerializer a = new BinarySerializer(Encoding.UTF32);

            byte[] testContents = new byte[0];
            SerializableList <double> testList = new SerializableList <double>(a, testContents, sizeof(double));

            testList.Add(1);
            testList.Add(2);
            testList.Add(3);
            testList.Add(4);
            testList.Add(5);
            testList.Add(6);
            testList.Add(7);
            var t = testList.IndexOf(5);

            testList.Insert(t, 15);
            testList.RemoveAt(2);
            t = testList.IndexOf(5);
            testList.Remove(7);
            for (int i0 = 0; i0 < testList.Count; i0++)
            {
                Console.WriteLine(testList[i0]);
            }
            Console.ReadKey();
        }