About 62 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. "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 …

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

  4. How to use the `using` statement in method - Stack Overflow

    Apr 17, 2018 · In particular, this is the difference between a using directive (which makes types available via different or shorter names) and a using statement (which calls Dispose automatically). They're …

  5. How can I validate an email address using a regular expression?

    Using a regular expression that recognizes email addresses could be useful in various situations: for example to scan for email addresses in a document, to validate user input, or as an integrity …

  6. How do I get the value of text input field using JavaScript?

    Jul 19, 2012 · How do I get the value of text input field using JavaScript? Asked 13 years, 9 months ago Modified 2 years, 4 months ago Viewed 4.3m times

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

  8. Does "using" statement always dispose the object?

    The using statement allows the programmer to specify when objects that use resources should release them. The object provided to the using statement must implement the IDisposable interface. This …

  9. What is the C# Using block and why should I use it? [duplicate]

    The using statement is used to work with an object in C# that implements the IDisposable interface. The IDisposable interface has one public method called Dispose that is used to dispose of the object.

  10. Using openssl to get the certificate from a server

    I am trying to get the certificate of a remote server, which I can then use to add to my keystore and use within my Java application. A senior dev (who is on holidays :( ) informed me I can run this: