'Dictionary<string, int>' does not contain a definition for 'ToList' and no extension method 'ToList' accepting a first argument of type 'Dictionary<string, int>' could be found
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
That's because ToList() is an extension method, defined in the System.Linq.Enumerable class of System.Core.dll. For this reason, you must make sure you have a reference to System.Core and also include a USING System.Linq in your prg file.
We don't need to be clever, or intelligent - what we all need is the will to keep going ;-0)
Persevere, that is the clue ! keep on trying !!
Yesterday, and a couple of days previous to that, I had some bad 'give up' moments believe me ;-0((
Now things are working again, and life is sweet.
At least you always know that you will get good support and help from your xBase friends and colleagues. I would know nothing without their support over the years.
Thanks to all of you.
Now then ... Good Luck,
and have a nice weekend.
Seasonal greetings to one and all.
Phil.
But for Nick: unfortunately I'm not able to move your code to X#, and the MS documentation says that there is not ToDictionary() method without any parameters - the X# compiler says the same thing.
I have tried this code: