Open Eregerog opened 5 years ago
Implemented a nice deconstructor extension method for KeyValuePairs, which makes the following code possible:
foreach(var (key, value) in myDict) // ...
This is in a preprocessor directive, since the feature has no use before c#7. It would still compile, but probably just confuse people.
TODO for XDracam:
#if NET47
Implemented a nice deconstructor extension method for KeyValuePairs, which makes the following code possible:
This is in a preprocessor directive, since the feature has no use before c#7. It would still compile, but probably just confuse people.
TODO for XDracam:
#if NET47
to work, so i had to use the UnityVersion one