示例1:
string[] array = { "A", "B", "C", "D" }; string str = string.Join(",", array);
示例2:
var insuredLogs = Model.Select(i => i.InsuredLogId).ToArray(); <input type="text" id="InsuredLogs" name="InsuredLogs" value="@string.Join(",",insuredLogs)"/>
示例1:
string[] array = { "A", "B", "C", "D" }; string str = string.Join(",", array);
示例2:
var insuredLogs = Model.Select(i => i.InsuredLogId).ToArray(); <input type="text" id="InsuredLogs" name="InsuredLogs" value="@string.Join(",",insuredLogs)"/>