Ejemplo n.º 1
0
        public void CanCopyToArray()
        {
            DetailCollection collection = new DetailCollection();

            collection.Add("hello");

            string[] array = new string[1];
            collection.CopyTo(array, 0);

            Assert.That(array[0], Is.EqualTo("hello"));
        }
Ejemplo n.º 2
0
		public void CanCopyToArray()
		{
			DetailCollection collection = new DetailCollection();
			collection.Add("hello");

			string[] array = new string[1];
			collection.CopyTo(array, 0);

			Assert.That(array[0], Is.EqualTo("hello"));
		}