DarthAffe / OBD.NET

C#-Library to read data from car through an ELM327-/STN1170-Adapter
GNU General Public License v2.0
178 stars 82 forks source link

C#6 compatibility #7

Closed gnouvel closed 6 years ago

gnouvel commented 6 years ago

Hello,

This is a really good library for OBDII, I would like to use it linked with Unity. Unfortunately, Unity is not compatible with C#7 but only C#6, and your code use some C#7 features.

I'm just a beginner in C#, do you thing it is easy to modify your code in order to be compatible with C#6 ?

Regards, Ghis

DarthAffe commented 6 years ago

Hey, since the codebase is relatively old, it wasn't that much of an issue for the desktop-dlls - this might be a bigger problem in the future. I can't change the universal-dll though.

I've added a branch (C#6) containing the changed version.