ChangeableListTests AddRangeOfElementsWhileEnumerating Method Delta Engine Documentation

Namespace: DeltaEngine.Tests.Extensions
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void AddRangeOfElementsWhileEnumerating()
Examples

[Test]
public void AddRangeOfElementsWhileEnumerating()
{
    foreach (int num in list)
        if (num == 5)
            list.AddRange(new[] { 2, 2, 2 });
See Also