Top "Indexer" questions

How to write a class that (like array) can be indexed with `arr[key]`?

Like we do Session.Add("LoginUserId", 123); and then we can access Session["LoginUserId"], like an Array, how do we implement …

c# .net arrays indexer
Using Moq to set any by any key and value

At the end of the question: Using Moq to set indexers in C#, there was an issue that someone highlighted …

c# unit-testing moq indexer
Magento Catalog URL rewrites stuck on processing

As the title says my Catalog URL rewrites indexer is stuck on processing. I've tried everything and I just can't …

url magento catalog indexer
Android: how to use SectionIndexer

I am trying to find a way to use SectionIndexer, instead of AlphabetIndexer. What I am interested to do is …

android listview header indexer
How to exclude files from Eclipse indexing (Static Code Analysis)?

I have a makefile project comprised of many source, header and other files, which I am trying to convert to …

eclipse eclipse-cdt static-analysis indexer ds-5
Eclipse 3.7 cannot resolve Types in C++ Editor

I recently changed from Eclipse 3.6 to Eclipse 3.7 , which I am using for C++ development in Ubuntu 11.04 . With Version 3.6 I had …

c++ eclipse ide indexer
How to get Index of an Item in ICollection<T>

I have this list of cars ICollection<Cars> Cars and I also have a single car object, which …

c# linq c#-4.0 collections indexer
PropertyChanged for indexer property

I have a class with an indexer property, with a string key: public class IndexerProvider { public object this[string key] { …

c# wpf data-binding indexer
Using an array's SetValue method vs. the [] indexers

I noticed that arrays have the SetValue method, which seems a little out of place when you could just use …

c# arrays indexer setvalue
android sectionindexer tutorial?

How do I create a categorical section indexer for a listview with string array? I have seen examples for alphabet …

android listview indexer