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

Insert_UShort() private method

private Insert_UShort ( string original, int index, ushort value, string expected ) : void
original string
index int
value ushort
expected string
return void
        public static void Insert_UShort(string original, int index, ushort value, string expected)
        {
            var builder = new StringBuilder(original);
            builder.Insert(index, value);
            Assert.Equal(expected, builder.ToString());
        }
StringBuilderTests