[lang-ref] ( example_quote_and_join ) ( csharp )
[Fact]
public void TestExampleQuoteAndJoin()
{
List<string> items = new() { "A", "B", "C" };
string r = string.Join(", ", items.Select(x => $"'{x}'"));
Assert.Equal("'A', 'B', 'C'", r);
// Note: sequence.Join(...) is a LINQ join operation, not for joining strings.
}
}