Csharp playground

if (Serial.available() == 5) I'm not keen on that construct, particularly when there are long delays in a sketch.
Is that one of the bazillion errors?