Re: C# should generalize the property and indexers to property index
From: Lord Crc (lordcrc_at_hotmail.com)
Date: 03/18/04
- Next message: mp: "Re: How I can sysnchronize changes in DataTable with my Database?"
- Previous message: Slava Gomzin: "Re: Outprocess (EXE) COM server in C#"
- In reply to: Jeffrey Tan[MSFT]: "RE: C# should generalize the property and indexers to property index"
- Next in thread: Jeffrey Tan[MSFT]: "Re: C# should generalize the property and indexers to property index"
- Reply: Jeffrey Tan[MSFT]: "Re: C# should generalize the property and indexers to property index"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 18 Mar 2004 16:26:08 +0100
On Wed, 17 Mar 2004 08:55:57 GMT, v-jetan@online.microsoft.com
("Jeffrey Tan[MSFT]") wrote:
>What does "A" and "B" mean? I think you can give any string to it. This is
>not a good design, and the C# compiler can not recognize it.
And? If A and B were not indexed properties, your "argument" would
still hold.
This is one thing that i miss so much, i break the golden rule for it
(at least for my internal stuff), ie returning arrays.
There's no issue for the compiler to correctly identify and resolve
foo = myObj.A[ i ];
bar = myObj.B[ j ];
beyond what it already does for regular properties.
- Asbjørn
- Next message: mp: "Re: How I can sysnchronize changes in DataTable with my Database?"
- Previous message: Slava Gomzin: "Re: Outprocess (EXE) COM server in C#"
- In reply to: Jeffrey Tan[MSFT]: "RE: C# should generalize the property and indexers to property index"
- Next in thread: Jeffrey Tan[MSFT]: "Re: C# should generalize the property and indexers to property index"
- Reply: Jeffrey Tan[MSFT]: "Re: C# should generalize the property and indexers to property index"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|