Samuel
Decimal in clamped TextBox
TryParse is not sufficient. For example, if you user starts to enter a negative number, the parsing will fail, and will be reverted to an earlier value. Also, parsing values such as
0.
, -1.
or 123.
will parse successfully and remove the decimal10 replies
Embedding a 3D view with OpenGL backend within a WPF view
I have found this solution
https://github.com/qian-o/SilkRenderer
I've managed to get a working copy in .NET. I'd like to get it working with NetFx. I'm currently getting a System.PlatformNotSupportedExceptio
7 replies
❔ ✅ Splitting string without allocation
That's awesome. The whole point of this exercise is to learn more about how to use Span and Memory and associated types, I guess I need to keep practicing.
The next issue I have is supporting this functionality in a .NET Framework project. I've tried changing the LangVersion to 8.0 to support range and indexes but no luck. I also cannot parse float from a span. Since this is not related to the problem, I'll just end this here.
Thanks
31 replies