C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
Java
Learn iOS Programming
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
2
Reply
What is indexer in c#?
Ayush Gupta
1y
923
0
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
It allows an instance of the class to behave as an array. We can add a collection and access it through the index.class IndexerExample {// define indexer here }//access indexerIndexerExample ie = new IndexerExample();// Inserting values in ix[]ie[0] = "C";ie[1] = "SHARP";iE[2] = "CORNER";
Alpesh Maniya
1y
0
I also wonder the same question
Donald Sim
1y
0
ets suppose project management ask you to add a new feature and you will given two options whether purchase the feature fr...
Describe the difference between Singleton,Transient, Scoped Service instance in .NET Core?
Message