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).
精彩评论