阅读背景:

为什么LinkedList(T)不实现IList(T)接口?

来源:互联网 

In C#, the LinkedList(T) class does not implement the IList(T) interface. However, the List(T) class does implement IList(T). Why is there this discrepancy? Functionally, they are both lists, so this design choice seems odd. It now becomes difficult to switch implementations from List(T) to LinkedList(T).In C#, the LinkedList(T) class does not impleme




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: