[lang-ref] ( string_is_null_or_empty ) ( csharp )

[Theory]
[InlineData("", true)]
[InlineData(null, true)]
[InlineData("a", false)]
public void TestStringIsNullOrEmpty(string? s, bool expected)
{
    // string.IsNullOrEmpty(s)

    Assert.Equal(expected, string.IsNullOrEmpty(s));
}