J
Jay
Extracted from the C# example in http://msdn2.microsoft.com/en-us/library/s14dyf47.aspx...
public static void Main()
{
string name;
string message;
StringComparer stringComparer = StringComparer.OrdinalIgnoreCase;
Thread readThread = new Thread(Read);
// Create a new SerialPort object with default settings.
_serialPort = new SerialPort();
<snip>
I would have thought that the last line would need to be:
SerialPort _serialPort = new SerialPort();
public static void Main()
{
string name;
string message;
StringComparer stringComparer = StringComparer.OrdinalIgnoreCase;
Thread readThread = new Thread(Read);
// Create a new SerialPort object with default settings.
_serialPort = new SerialPort();
<snip>
I would have thought that the last line would need to be:
SerialPort _serialPort = new SerialPort();