Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

How to place method references into a SortedList

$
0
0

I am looking to create a dispatch table using SortedList.

Since I'm using unique text tokens, the key isn't a problem.

However, I haven't yet been able to figure out how to place the method references into the list.

I know you use the Action keyword when passing a method to another method, but that doesn't appear to be the way to put them into a list.

I don't really need this sorted either.  Only thing SortedList would do is speed up the search, but there's only about 50 entries, so even that point is rather moot.

Andy


Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>