About 57 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. 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 …

  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. 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 …

  5. .net - use of "using" keyword in c# - Stack Overflow

    Nov 20, 2009 · Using the using keyword can be useful. Using using helps prevent problems using exceptions. Using using can help you use disposable objects more usefully. Using a different using …

  6. "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 …

  7. Using statement vs. IDisposable.Dispose () - Stack Overflow

    Jun 11, 2012 · It has been my understanding that the using statement in .NET calls an IDisposable object's Dispose() method once the code exits the block. Does the using statement do anything else? …

  8. Newest Questions - Stack Overflow

    I am using the Gurux DLMS pyton client inside a Kubernetes pod to connect to a DLMS meter using HLS SHA256 authentication. The client is able to successfully establish a connection and read data …

  9. 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 …

  10. .net - When should I use "using" blocks in C#? - Stack Overflow

    Feb 7, 2013 · 11 I see plenty of other answers indicated when you should have a using statement. I want to address when specifically should not have a using statement: If you need to use your object …