public void CountAllString()
        {
            //Arrange
            ListCustom <string> testListOne = new ListCustom <string>()
            {
                "0", "1", "1", "1", "2"
            };
            //Act
            int result = testListOne.Count();

            //Assert
            Assert.AreEqual(5, result);
        }
        public void CountAllInt()
        {
            //Arrange
            ListCustom <int> testListOne = new ListCustom <int>()
            {
                0, 1, 1, 1, 2
            };
            //Act
            int result = testListOne.Count();

            //Assert
            Assert.AreEqual(5, result);
        }
        public void CountAllObject()
        {
            //Arrange
            Person test = new Person("test");
            ListCustom <Person> testListOne = new ListCustom <Person>()
            {
                new Person("1"), test, test, test, new Person("2")
            };
            //Act
            int result = testListOne.Count();

            //Assert
            Assert.AreEqual(5, result);
        }