Avatar of mathieu_cupryk
mathieu_cupryk
Flag for Canada

asked on 

accesses the indexer property

Which one of the following code samples accesses the indexer property of the
customers collection?

1) customers.Item[1].Name
2) customers.(1).Name
3) customers.[1].Name
4) customers.Item(1).Name
5) customers[1].Name

Answer: 1)
C#

Avatar of undefined
Last Comment
Gautham Janardhan

8/22/2022 - Mon