System.Text.Tests.StringBuilderTests.AppendLine_TestData C# (CSharp) Method

AppendLine_TestData() public static method

public static AppendLine_TestData ( ) : IEnumerable
return IEnumerable
        public static IEnumerable<object[]> AppendLine_TestData()
        {
            yield return new object[] { "Hello", "abc", "Helloabc" + Environment.NewLine };
            yield return new object[] { "Hello", "", "Hello" + Environment.NewLine };
            yield return new object[] { "Hello", null, "Hello" + Environment.NewLine };
        }
StringBuilderTests