What are Indexers in C#?



What are Indexers in C#?..

Answer / Lokendra Singh Garbyal

Indexers in C# are a special type of member that allow you to access elements of an object as if they were an array. They provide a way to customize the behavior of array-like access for user-defined types.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What are value types and reference types?

1 Answers  


What are escape sequences explain with example?

1 Answers  


What is a string c#?

1 Answers  


how to retrive a TextBox value in to Sql database using C# windows form application coding

3 Answers  


What is a function c#?

1 Answers  


Can you pass parameters to destructors?

1 Answers  


What is the difference between finalize() and dispose()?

1 Answers  


What is the difference between proc. Sent by val and by sub?

1 Answers  


Explain async and await?

2 Answers  


What is an array? Give the syntax for a single and multi-dimensional array?

1 Answers  


How to call a function when a class implements 2 interfaces and function is present in both interfaces?

2 Answers  


Explain the types of comments in c#?

1 Answers  


Categories