.Net Framework 2.0 Collection classes with Delegates?

  • Thread starter Thread starter cody
  • Start date Start date
C

cody

Is is just my imagination or was there a Beta or VS2005 where an overload
Arrayist.Sort(Delegate d) existed? Now Iam using Beta 2 and cannot find it
anymore.
I think that delegates are a very good alternative instead of using
IComparable and stuff. Why do I have to create a class everytime if I just
need a single callback function?
So why is it gone?
 
cody said:
Is is just my imagination or was there a Beta or VS2005 where an overload
Arrayist.Sort(Delegate d) existed? Now Iam using Beta 2 and cannot find it
anymore.
I think that delegates are a very good alternative instead of using
IComparable and stuff. Why do I have to create a class everytime if I just
need a single callback function?
So why is it gone?

Take a look at the Generic version of ArrayList - List and the Comparison
delegate.

Willy.
 
Back
Top