中文
Appearance
List.Clear()
List
清楚列表中的所有元素。
void
let list = new List<Number>(Number); for(let i = 0; i<3; i++){ list.Add(i); } //清楚列表元素 list.Clear();