Ayush Gupta
What is indexer in c#?
By Ayush Gupta in .NET on Sep 10 2024
  • Alpesh Maniya
    Sep, 2024 13

    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";

    • 0
  • Donald Sim
    Sep, 2024 11

    I also wonder the same question

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS