10-19-2024, 10:49 AM
I guess the idea is that it is a conversion from SB to C# that reproduces the standard library functionality using natural C# code and types (not Primitive types and more conventional array/lists for example).
Comments:
Comments:
- It won't handle SB extension code unless it uses of Primitive type for these
- I would use fully normal C# types (String, Int, Double, Decimal etc and maybe Var for declarations), rather than dynamic (this is not how C# code would normally be written and the idea I think is to show users what C# code would normally look like rather than a direct reflection of SB)
- The hardest part of course will be writing a fully compatible (apart from extensions) code syntax converter - not using reflection (using classes, event handling etc that shows how good C# should be written).
- I don't see any reason to use .Net Core (8) for this, all can be done welll more compatibly in .Net framework (4.8) - A user can always increase .Net version (harder to reduce it - always use the lowest most compatible version of .Net that can achieve your objectives)