it is a code for serial port communication using c#