开发者

C#/.NET Not generic LinkedList is it present?

I wanna find someth开发者_开发技巧ing like linked list but non from generic namespace, is it possible ? Thanks.


Since you are using .NET 1.x, you would need to either implement this from scratch (which isn't that hard really), or settle for ArrayList. I know the position - for a utility library I ended up writing the list primitives from scratch, because:

  • 1.x lacks the generic versions
  • Silverlight lacks the non-generic versions

so to work on all platforms, I rolled my own (I had other unique features too, which made hacking around with something like a using alias undesirable - such as thread-safe tail-iteration while appending items).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜