Serial.IO.Ports namespace not working

There’s a lot of formatting and errors in the above code. For one, public and using would only ever be used lowercase. Another is that you have extra equal signs between the type and variable name.

Can you review the correct way to post code? It might just be damaged by how you mis-posted it above.

If you post a code snippet, ALWAYS USE CODE TAGS:

How to use code tags: Using code tags properly