4
Answers

Short key for ordering the code lines in C#.NET

Photo of Amir Ali

Amir Ali

12y
2.8k
1
Does anyone know what the short key for ordering the code lines in C#.NET is?
Thanks

Answers (4)

0
Photo of Wim Sturkenboom
NA 2.9k 1.6k 10y
The answer to your question depends on the answer to the question "what are you trying to read"? The serial port on a (web)server or the serial port on a (web)client? Code for the server or for the client? Reading a serial port on the server is definitely possible, reading the serial port on the client can be done as well (but not directly as the browser runs in a sandboxed environment as far as I know).

Please note that "but that code is not works" means nothing. If you want serious help, you have to indicate what's wrong. Does it not compile, does it not read, does it throw runtime exceptions, ..... If it does not read, it might mean that you want to read from the client and you downloaded code for the server; we can not say.

Please clarify and others might be able to help (I'm probably not the one to be able to help).