将这些字符串拆分为 a 的最佳方法是List<customObject>
什么?
[
[
"a",
"123",
"456"
],
[
"b",
"456",
"789"
]
]
说,我想获得具有定义的 SampleObject 列表:
class SampleObject
{
public string Letter { get; set; }
public string FirstNumber { get; set; }
public string SecondNumber{ get; set; }
}