Performance and VO functions Inlist and Between

Have some feedback and input to share?
Don't be shy and drop us a note. We want to hear from you and strive to make our site better and more user friendly for our guests and members a like.
MathiasHakansson
Posts: 50
Joined: Fri Feb 16, 2018 7:52 am

Performance and VO functions Inlist and Between

Post by MathiasHakansson »

The XSharp string could override the Equals method.
I guess usuals can have it's own equals method too. This does not solve the problem with mixed data types, but I can't remember that I ever have used Inlist with parameters of different data types. Not in VO either. I guess that does not really matter though. If it was possible in VO it should be possible in X#.
User avatar
robert
Posts: 4540
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

Performance and VO functions Inlist and Between

Post by robert »

Mathias,

There is no "XSharp String". STRING = System.String.
So we can't override the Equals method. And also we can't inherit from System.String because that type is sealed....

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
Post Reply