In so far as people in here being Lame, that isn't the case. There are alot of skilled contribtors here (Imar, Peter, Joe, Happy, etc) and if I wasn't answering your questions, I am sure one of them would be! ;]
Anyway, about collections.
I don't have the book that you are referencing so what I am going to do is explain this using an array list and the DataTable object.
ArrayList arr = new ArrayList();
arr.Add(new DataTable("foo"));
Now, depending on what I am doing and what the use of this particular collection is I can do something like:
foreach(DataTable t in arr)
{
//do something with each object in the collection
}
Your get statement is returning the object at the given index your set statement doesn't return anything, it sets the specified index with the supplied value.
hth
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for:
Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========