.Net2.0 gives you the easy to use System.IO.Ports so a programm that writes everything you type to the arduino is quickly written :
using System; using System.IO.Ports;
namespace test
{
class Program
{
static void Main(string[] args)
{
SerialPort port = new SerialPort("COM4", 9600);
port.Open();
while (true)
{
String s=Console.ReadLine();
if (s.Equals("exit"))
{
break;
}
port.Write(s+'\n');
}
port.Close();
}
} }
Detect Arduino com port and use Serial Comms
C# with Arduino Duemilanove + Led On/Off/Pwm Control