Namespace: DeltaEngine.Tests.Extensions
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test] public void AddAndRemoveWhileEnumerating() { foreach (int num in list) if (num == 5) list.Add(7); else if (num > 1) list.Remove(num); Assert.AreEqual("1, 5, 7", list.ToText()); }
See Also