📅  最后修改于: 2022-03-11 14:49:00.739000             🧑  作者: Mango
List _ids = new List() { "aaa", "bbb", "ccc", "ddd" };
var first = _ids[0]; //first element
var last = _ids[_ids.Count - 1]; //last element