ASCII character for 0 is differenct in vb6.0 compared to c#. I have converted vb6.0 code to c# where i need to send hex data as characters in port communication.
C# - Comm1.Write('/0').ToString() --> gives char as /0.
VB6.0 - mscomm.Output(char(0)) ---> give '' space .
Similarly for 7 c#--> gives '/a' as character
vb 6.0 --> gives as . black dot
Anyone can suggest me why this difference occurs in both as ASCII coding is same