why use base[] indexers??
I'm a little new to C#, so maybe there is a good reason as to why Marco is using base["member"] indexers instead of just using base.member? Or even, this.member? I'm particularly talking about when uses it on page 101 Chapter 3 for the custom configuration section class.
If one of the two other options I mentioned are equivalent, I don't think it's a good idea to get members via a string look-up like that, since you can easily misspell them (which actually happened by the way--it's in the errata for the book).
|