Digital input from arduino to winform c# visual studio

I was looking for an example or something like that, this could be very silly, i want to get the gpio(1/0) value and take it into a c# variable

Do you know how to open and read a Serial port in C#? Then it’s a matter of sending the data (Serial.print() or Serial.write() ) from your arduino and agreeing on a protocol