Hi Dieter,
Thanks for your posting. As for the Indexer problem you mentioned, I think
it is the normal behavior of the C# compiler on dealing with indexers. In
fact, when the compiler encounter a certain indexer expression, for example:
class a;
a[index] =
then, the compiler will first create a set of all of the class a's
avaliable indexers and them filter some and finally choose a most
appropriate one. And one rule of the filtering is the indexer which is
defined with
"override" keyword will be bypassed, that's why your override indexer(int
parameter) will not work.
For detailed explanition, you can have a look at the following
specification:
7.5.6.2 Indexer access
http://msdn.microsoft.com/library/en-us/csspec/html/vclrfcsharpspec_7_5_6_2.
asp?frame=true
Thanks.
Regards,
Steven Cheng
Microsoft Online Support

Signature
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)