Serial connection between Esp32 and PC using C# interface gives wrong numbers

In your C# program create a log file that records the data you send and receive.

Also, currently your Arduino code appends to inData, which presumably gets bigger forever. You should probably clear it after doing
Serial.println(inData)