C# (CSharp) System.Collections ArrayList.AsGenericEnumerable Examples

C# (CSharp) System.Collections ArrayList.AsGenericEnumerable - 1 examples found. These are the top rated real world C# (CSharp) examples of System.Collections.ArrayList.AsGenericEnumerable extracted from open source projects. You can rate examples to help us improve the quality of examples.
        public void AsGenericEnumerable_returns_generic_for_normal_enumerable()
        {
            IEnumerable data = new ArrayList { 1 };

            Assert.IsAssignableFrom(typeof(IEnumerable<int>), data.AsGenericEnumerable());
        }