用ArryList 和 List<T> 分别对Student 和 Teacher 添加10000成员操作时,各有什么优缺点,是什么原因?(10)
Struct Student
{
Public Int32 Age;
}
class Teacher
{
public Int32 Age{get;set;}
}
(1)ArryList List<Student>
(2)ArryList List<Teacher>
...全文
17011打赏收藏
一道.net 的题,求帮忙
用ArryList 和 List 分别对Student 和 Teacher 添加10000成员操作时,各有什么优缺点,是什么原因?(10) Struct Student { Public Int32 Age; } class Teacher { public Int32 Age{get;set;} } (1)ArryList List (2)ArryList List