Xported project: Error XS1061 'type' does not contain a definition for ..
Posted: Wed Sep 05, 2018 1:45 pm
Hi Dick,
First of all, all access/assign variables should be typed. This will solve a lot of late binding (and I'm doing this already in VO whenever possible to be prepared for the X# move).
But there are many cases where late binding permits more elegant code - to make it without you would need to use interfaces.
Wolfgang
It depends on your programming style, it has nothing to do with the X# runtime.So good to know that I didn't miss something obvious and late binding is a normal practice. I assume this can be abandoned as soon as we have the Core X#.
First of all, all access/assign variables should be typed. This will solve a lot of late binding (and I'm doing this already in VO whenever possible to be prepared for the X# move).
But there are many cases where late binding permits more elegant code - to make it without you would need to use interfaces.
Wolfgang