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#.
Performance and VO functions Inlist and Between
-
- Posts: 50
- Joined: Fri Feb 16, 2018 7:52 am
Performance and VO functions Inlist and Between
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
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
The Netherlands
robert@xsharp.eu