sharpbrick / powered-up

.NET implementation of the LEGO PoweredUp Protocol
MIT License
94 stars 19 forks source link

Example program.cs can be simplified for WinRT or BlueGiga #165

Closed dkurok closed 3 years ago

dkurok commented 3 years ago

I've seen that there are some commented lines in program.cs in Examples. That can be simplified because all defaults to WinRT. Also switching to C#9 and using discards where appropriate in exampes would make sense. I will PR the changes.