public void CanStringJoinArrayOfStrings() { var seq = new[] { "um", "dois", "três" }; var str = seq.StringJoin(); str.Should().Be("umdoistrês"); }
public void CanStringJoinArrayOfStringsWithCommaSeparator() { var seq = new[] { "um", "dois", "três" }; var str = seq.StringJoin(","); str.Should().Be("um,dois,três"); }
public void CanStringJoinArrayOfIntsWithCommaSeparator() { var seq = new[] { 1, 2, 3 }; var str = seq.StringJoin(","); str.Should().Be("1,2,3"); }