[lang-ref] ( string_ends_with ) ( csharp )

[Fact]
public void TestStringEndsWith()
{
    // text.StartsWith(s)

    string text = "Good morning";
    string s = "ing";

    bool r = text.EndsWith(s);

    Assert.True(r);
}