About 54 results
Open links in new tab
  1. What is an indexer? - Software Engineering Stack Exchange

    Jul 1, 2017 · Looks to me like "indexer" has multiple different meanings. In C#, an indexer is an indexed property whose parameter is written in between square brackets. Wikipedia's "Indexer" page is …

  2. Is there a better way to use C# dictionaries than TryGetValue?

    Aug 27, 2019 · Should out variables be discouraged? C# isn't the first language to have them, and they have their purpose in specific situations. If you are trying to build a highly concurrent system, then …

  3. Which data structure should I use for implementing a code indexer

    Apr 6, 2018 · I need to write a basic code indexer, which needs to be fast. Should I use an embedded SQLite database for this or should rather rely on a custom data structure, or even flat files as used by …

  4. Why is there no key specified with .NET KeyNotFoundException?

    Microsoft's own guideline calls for throwing different types of exceptions for different (differentiating) reasons. Calling the Dictionary indexer getter with a null throws an ArgumentNullException, therefore …