-
Posts
300 -
Joined
Single Status Update
See all updates by LEGOanimal22
-
<p><p><p><p><p><p>Separating the PID into bytes depends on how you store it. If it's stored as an integer, use BitConverter to convert it to a byte array and get just one of the bytes.</p></p></p></p></p></p>
<p><p><p><p><p><p>Looking through your code, you should get into the habit of using the ampersand (&) when joining strings. It's slightly faster than adding (+) because the framework has to determine if the objects you are adding are integers or strings, then join the strings. The ampersand is specifically for joining strings. </p></p></p></p></p></p>
<p><p><p><p><p><p>"1" & "2" = "12"</p></p></p></p></p></p>