Mar 8, 2017 ·User kokos answered the wonderful Hidden Features of C# question by mentioning theusingkeyword. Can you elaborate on that? What are the uses ofusing?
Notusingby means that the technology used is incidental, and the focus is on the approach being showntobe feasible. Without more context it's impossibletosay what the intended import of the sentence is and whether by would actually be better or not. And that means that this question is Not A Real Question.

Byusinga joystick or a pointing device, an on-screen keyboard allows peoplewithmobility impairmentstotype data. The second sentence states that the on-screen keyboard is the one that uses the joystick or pointing devicetoallow impaired peopletotype data.

Updating theusingkeyword was specifically for templates, and (as was pointed out in the accepted answer) when you are workingwithnon-templatesusingand typedef are mechanically identical, so the choice is totally uptothe programmer on the grounds of readability and communication of intent.

Theusingstatement allows the programmertospecify when objects that use resources should release them. The object providedtotheusingstatement must implement the IDisposable interface. This interface provides the Dispose method, which should release the object's resources.
Apr 27, 2014 ·I have seen numerous sentences in which placement of the word "using" immediately following a noun causes just such ambiguity as in the first sentence. In some cases, introduction of extra verbiage such as "through the use of" or "byusing" helps. In other cases, it is besttorewritetoavoid confusion and obtain a clearer, more concise sentence.