ArrayExtensionsTests GetWithDefaultReturnsValueIfFound 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 GetWithDefaultReturnsValueIfFound()
Examples

[Test]
public void GetWithDefaultReturnsValueIfFound()
{
    int result = ArrayExtensions.GetWithDefault<string, int>(dictionary, "int");
    Assert.AreEqual(1, result);
}
See Also