ThreadExtensionTests Start1 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 Start1()
Examples

[Test]
public void Start1()
{
    int num = 1;
    Assert.AreEqual(1, num);
    Thread t = ThreadExtensions.Start(() => IncrementNumber(ref num));
    t.Join();
    Assert.AreEqual(2, num);
}
See Also