Property
|
Indexer
|
Identified
by its name.
|
Identified
by its signature.
|
Accessed
through a simple name or a member access
|
Accessed
through an element access.
|
Can
be static or instance member
|
Must
be an instance member
|
A Get accessor of a property has no
parameters
|
A Get Accessor of an indexer has the
same formal parameter list as the indexer
|
A Set accessor of a property contains
implicit value parameter.
|
A Set accessor of an indexer has the same formal parameter list as
indexer, in addition to the value
parameter
|
Refernce taken from MSDN..
No comments:
Post a Comment
Note: only a member of this blog may post a comment.