MCQOPTIONS
Bookmark
Saved Bookmarks
→
Attributes
→
.NET Framework in Attributes
→
Which of the folowing does an indexer allow to ind...
1.
Which of the folowing does an indexer allow to index in the same way as an array?
A.
1, 3, 5
B.
2, 4
C.
3, 5
D.
3, 4, 5
Answer» B. 2, 4
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
Which of the folowing does an indexer allow to index in the same way as an array?
An Account class has a property called accountNo and acc is a reference to a bank object and we want the C#.NET code snippet given below to work. Which of the following options will ensure this functionality?
If a Student class has an indexed property which is used to store or retrieve values to/from an array of 5 integers, then which of the following are the correct ways to use this indexed property?
If Sample class has a Length property with get and set accessors then which of the following statements will work correctly?
If a class Student has an indexer, then which of the following is the correct way to declare this indexer to make the C#.NET code snippet given below work successfully?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies