> << I *strongly* suggest that you learn more about .NET and C# before going
> any further>>
> I *certainly* agree with you that I should learn more about .NET - but your
> recommendation is so vague as to be not helpful.
Okay, here's a more concrete recommendation: read a book or tutorial
about C# and .NET which starts from a beginner's perspective. Pay close
attention to chapters which describe the differences between value
types and reference types, and parameter passing, too.
> My OP was specifically NOT
> asking for code samples or otherwise for others to do my work BECAUSE I was
> wanting high-level guidance that would help me to focus my learning in a way
> that is relevant to the current project. That's how a lot of learning
> happens - I'm sure you've likely done the same many times over your career.
Well, I usually haven't tried to embark on a real-life project without
a reasonable understanding of the basics of what I'm using. It's fine
to use projects to learn, but I wouldn't try it with a real world
production project, which I assumed your question was about (given the
very specific nature of it). Threading is a relatively advanced topic,
for instance - so one would hope that someone asking a question
involving threading (as yours did) would have a good grounding in the
basics.
> The response by William Stacey was pretty much the sort of guidance I was
> looking for - but I was just wanting a little bit more, like what a
[quoted text clipped - 3 lines]
> not sure of the "Predicate" delegate part of his recommendation. I hope that
> doesn't make me too dumb to be helped.
You're not too dumb to be helped at all - but without a good
understanding of the fundamentals of the framework, I don't think it's
a good idea to continue with a real project.
Put it this way - asking about delegates without understanding value
types is a bit like someone asking for good examples of the subjunctive
mood without understanding the difference between a verb and a noun. I
*could* give you examples of implementing predicates using anonymous
methods etc, but the chances of you properly understanding those
examples without a sound knowledge of the basics are very slim. In
short, I don't think it would be helpful in the long run.

Signature
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Nick Hounsome - 29 Mar 2006 17:46 GMT
I agree with Jon for this reason - if you get an example of how to do the
sort you will be doing ONE thing right (and even then you could have done it
the hard way - it would just be slower) but if you if you continue to
misunderstand when it is appropriate to use a struct you will be doing MANY
things wrong and they will manifest themselves throughout your as they will
be used in multiple places whereas the sorting is only done in a single
method.
John Parrish - 30 Mar 2006 03:29 GMT
Careful on the attitude.. the line between berating and mentoring might
seem fine, but it never is to the recipient of either. While I agree
with your sentiments, I think as an MVP you might do a better job at
encouragement. Perhaps spend a little more time explaining, otherwise,
perhaps not say anything at all.
Jon Skeet [C# MVP] - 30 Mar 2006 06:59 GMT
> Careful on the attitude.. the line between berating and mentoring might
> seem fine, but it never is to the recipient of either. While I agree
> with your sentiments, I think as an MVP you might do a better job at
> encouragement. Perhaps spend a little more time explaining, otherwise,
> perhaps not say anything at all.
If the OP shows some interest in really learning the differences
between value types and reference types, I'll be very happy to help.
However, I believe that explaining something advanced when we *know*
the basics are missing is a bad idea - in my experience it only leads
to more questions which could easily be avoided by learning those
basics first. I've seen it time and time again in newsgroups (it was
worse on the Java ones).
I dare say I could have expressed it better though...

Signature
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Do you have the MSDN help installed? Look in the List<T>.Find method help.
What version of VS are you using?

Signature
William Stacey [MVP]