由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
DotNet版 - difference between property and indexer
相关主题
mvc pros and cons拷。.net有个重大bug
mouse overSession ID in URL
pass request to other serverc# and asp.net entry level questions
asp.net问题急问(初级)Can a struct be derived? in C#, in C++
Re: DotNetNuke2.04, Could you pls expla那位大侠能介绍一下 property in c# class的使用经验
Ask for help!inherit from HtmlInputFile
急问几个asp.net的问题好像c#为了DotNet牺牲了不少
Problem connecting to SQL Server刚刚发现.net 35里面的property很好用
相关话题的讨论汇总
话题: indexer话题: property话题: difference话题: cons话题: pros
进入DotNet版参与讨论
1 (共1页)
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?

1 (共1页)
进入DotNet版参与讨论
相关主题
刚刚发现.net 35里面的property很好用Re: DotNetNuke2.04, Could you pls expla
vb.net problemAsk for help!
VB.net 的小问题急问几个asp.net的问题
A question seeking answersProblem connecting to SQL Server
mvc pros and cons拷。.net有个重大bug
mouse overSession ID in URL
pass request to other serverc# and asp.net entry level questions
asp.net问题急问(初级)Can a struct be derived? in C#, in C++
相关话题的讨论汇总
话题: indexer话题: property话题: difference话题: cons话题: pros