"hharry" <pa*********@nyc.com> schrieb:
response = Encoding.ASCII.GetString(bytes, 0, receivedByteCount)
Dim multiline As Boolean = (response.Chars(3) = "-"c)
What is the purpose of the c character in "-"c
The 'c' suffix marks the character enclosed between the double quotes as a
'Char' instead of a 'String'. '"-"' would create a string (type 'String')
of length 1 consisting of the character "-" while '"-"c' will create a
single character of type 'Char'.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>