Yes, now can I start the (remaining) various options by uncommenting them from the Program.prg. Very useful.VR wrote:Some of the examples use features from the latest x# compiler. I'll add that info in to the readme.
As a quick fix, you can delete the folders, that contain files with errors.
I should of course update my X# but I haven't used any of the additions not already present in Vulcan and I am always inclined to keep using something that works until I find some new option that I really welcome. That saves compiler errors in newer versions and DLL updates at clients, in the case of X#, and more than once septs back in other program's updates.
But maybe I find something useful in your samples, when reloading, which requires 2.8.
One quick question: I never used a Dictionary. Do you agree with me that you can do the same thing with a List but only slightly shorter?
Code: Select all
List<Part> parts = new List<Part>();
parts.Add(new Part() { PartName = "chain ring", PartId = 1334 });
int index parts.Find(x => x.PartId.Contains("1334")));
? parts[index].PartName
I saw I did once create a Github account and I've given your post 5 stars too.
Dick