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. What is the difference between using and await using? And how can I ...

    Oct 29, 2019 · 48 Justin Lessard's answer explains the difference between using and await using, so I'll focus on which one to use. There are two cases: either the two methods Dispose / DisposeAsync are …

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

  4. How can I generate a self-signed SSL certificate using OpenSSL?

    Modern browsers (like the warez we're using in 2014/2015) want a certificate that chains back to a trust anchor, and they want DNS names to be presented in particular ways in the certificate. And browsers …

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

    The intention of "using" is to give developers a guaranteed way to make sure that resources get disposed. From MSDN: A using statement can be exited either when the end of the using statement …

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

    How can I remove the current process/application which is already assigned to a port? For example: localhost:8080

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

  8. Reading CSV files using C# - Stack Overflow

    using Microsoft.VisualBasic.FileIO; Yes, you can use it in C#, don't worry. This library can read relatively big files and supports all of needed rules, so you will be able to work with all of CSV files. Some time …

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

    The second constraint is a restriction on RFC 5321/5322. Elaborate answer Using a regular expression that recognizes email addresses could be useful in various situations: for example to scan for email …

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