Answer Posted / priya
1. An index is identified by it's signature. But a property
is identified it's name.
2. An indexer is always an instance member, but a property
can be static also.
3. An indexer is accessed through an element access. But a
property is through a member access.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Can an exception be thrown from a catch block?
What is difference between override and new in c#?
State the top.NET class that everything is derived from?
What is expression c#?
What do you mean by default constructor?
What is dependency injection in simple words?
Why do we use overloading in c#?
Are tuples immutable c#?
What is the difference between interface and functional interface?
What is datagrid c#?
What is string in c# net?
Who introduced c#?
What is the use of system.environment class in c#.net?
Is null or empty in c#?
What is the difference between dynamic type variables and object type variables in c#?