r*******o 发帖数: 38 | 1 I got an interview yesterday, one of the question is the difference and pros
and cons of property and index.
I have no idea what is the pros and cons. Anybody can give me some suggestion? |
a*****i 发帖数: 215 | 2 i don't know what index you're talking about. do you mean indexed properties,
like the common Item property from collections? they allow you to get back
a colletion of values by optionally specifying a key or a combination of keys.
【在 r*******o 的大作中提到】 : I got an interview yesterday, one of the question is the difference and pros : and cons of property and index. : I have no idea what is the pros and cons. Anybody can give me some suggestion?
|
n*********g 发帖数: 75 | 3 there is one indexer in C#.
indexer is a smart array just like property is smart field.
【在 a*****i 的大作中提到】 : i don't know what index you're talking about. do you mean indexed properties, : like the common Item property from collections? they allow you to get back : a colletion of values by optionally specifying a key or a combination of keys.
|
a*****i 发帖数: 215 | 4 kinda remember coming across such a thing in reading.
is it available in other languages?
【在 n*********g 的大作中提到】 : there is one indexer in C#. : indexer is a smart array just like property is smart field.
|
b*e 发帖数: 3845 | 5 A very similar question is
* what's the advantage of typed dataset?
Hope this helps.
【在 r*******o 的大作中提到】 : I got an interview yesterday, one of the question is the difference and pros : and cons of property and index. : I have no idea what is the pros and cons. Anybody can give me some suggestion?
|