About 55 results
Open links in new tab
  1. What are the uses of "using" in C#? - Stack Overflow

    Mar 8, 2017 · User kokos answered the wonderful Hidden Features of C# question by mentioning the using keyword. Can you elaborate on that? What are the uses of using?

  2. PowerShell Syntax $using - Stack Overflow

    Oct 31, 2020 · The Using scope modifier is supported in the following contexts: Remotely executed commands, started with Invoke-Command using the ComputerName, HostName, SSHConnection or …

  3. "Using" or "by using"? - English Language & Usage Stack Exchange

    Not using by means that the technology used is incidental, and the focus is on the approach being shown to be feasible. Without more context it's impossible to say what the intended import of the …

  4. What is difference between "using" and "by using"?

    By using a joystick or a pointing device, an on-screen keyboard allows people with mobility impairments to type data. The second sentence states that the on-screen keyboard is the one that uses the …

  5. c# - in a "using" block is a SqlConnection closed on return or ...

    Yes Yes. Either way, when the using block is exited (either by successful completion or by error) it is closed. Although I think it would be better to organize like this because it's a lot easier to see what is …

  6. What is the difference between 'typedef' and 'using'?

    Updating the using keyword was specifically for templates, and (as was pointed out in the accepted answer) when you are working with non-templates using and typedef are mechanically identical, so …

  7. "The use of" vs. "using" - English Language & Usage Stack Exchange

    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 …

  8. Iterating over a dictionary using a 'for' loop, getting keys

    Mar 16, 2017 · Why is it 'better' to use my_dict.keys() over iterating directly over the dictionary? Iteration over a dictionary is clearly documented as yielding keys. It appears you had Python 2 in mind when …

  9. When to use @using in my razor syntax view in ASP.Net MVC 5

    May 13, 2017 · Every time you need to import a namespace inside your view. This is the same as when you import a namespace in a standard C# code file. So, if you need to use a type which is declared …

  10. How do I remove the process currently using a port on localhost in ...

    If you're using Windows Terminal then the killing process might be little less tedious. I've been using windows terminal and kill PID works fine for me to kill processes on the port as the new Windows …