Hi Nick,
thank you for your sample.
I may not yet ready for these things, learning to do programming the .NET way currently....
Wolfgang
Lambda expressions - syntax in X# ?
Lambda expressions - syntax in X# ?
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
- Phil Hepburn
- Posts: 743
- Joined: Sun Sep 11, 2016 2:16 pm
Lambda expressions - syntax in X# ?
Hi Nick and all,
In fact we can combine method syntax and 'simple syntax' (sugary? syntax) to get the best out of both sides of LINQ technology.
As you say Nick this sort of code is much easier to follow and maintain. I attach a couple of snippets to illustrate your point. And to show some X# code and syntax. Hope this helps in our quest to learn and move forward.
After all I would say that LINQ is now part of the .NET coding 'way' or approach.
Regards,
phil.
In fact we can combine method syntax and 'simple syntax' (sugary? syntax) to get the best out of both sides of LINQ technology.
As you say Nick this sort of code is much easier to follow and maintain. I attach a couple of snippets to illustrate your point. And to show some X# code and syntax. Hope this helps in our quest to learn and move forward.
After all I would say that LINQ is now part of the .NET coding 'way' or approach.
Regards,
phil.