Open JosefTaylor opened 2 years ago
Will try to get this added ASAP.
Link to msdn docs:
https://docs.microsoft.com/en-us/dotnet/csharp/fundamentals/functional/deconstruct
Have discussed this offline with @IsakNaslundBh - this would need a wider discussion on the active upgrade to C#7. C#7 is available since we updated the .Net versions for BHoM and BHoM_Engine and an update now could be beneficial, but this needs to be discussed at a framework level first before actioning.
Description:
add Deconstruct(IOutput) to allow syntax like:
var (a, b) = MyMultiOutputMethod();