Re: .Net Framework 2.0 Collection classes with Delegates?

Tech-Archive recommends: Fix windows errors by optimizing your registry




"cody" <deutronium@xxxxxx> wrote in message
news:%23Psznc4kFHA.1480@xxxxxxxxxxxxxxxxxxxxxxx
> 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.


.



Relevant Pages