绑定值：
@(string.Join(",", Value2))
@code { private IEnumerable Items3 { get; set; } = new List() { new Foo { Text = "Item 9", Value = 9, Checked = false }, new Foo { Text = "Item 10", Value = 10, Checked = false }, new Foo { Text = "Item 11", Value = 11, Checked = false }, new Foo { Text = "Item 12", Value = 12, Checked = false } }; private IEnumerable Items4 { get; set; } = new List() { new Foo { Text = "Item 13", Value = 13, Checked = false }, new Foo { Text = "Item 14", Value = 14, Checked = false }, new Foo { Text = "Item 15", Value = 15, Checked = false }, new Foo { Text = "Item 16", Value = 16, Checked = false }, }); private IEnumerable Value2 { get; set; } = new int[] { 9, 10 }; private IEnumerable Value3 { get; set; } = new string[] { "Item 13", "Item 15" }; }