I have a string "06:55,13:55"
I am trying to split it into variables:
var (mytime1, mytime2) = runTimes.Split(',');
but the compiler throws an error:
Severity Code Description Project File Line Suppression State Error CS8129 No suitable Deconstruct instance or extension method was found for type 'string[]', with 2 out parameters and a void return type. AA.Integrations.Aexp.Main C:\Users\username\Projects\AA\aci-integrations\AA.Integrations.Aexp.Main\SchedulerRegistry.cs 13 Active
Any idea why? Thanks.