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

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

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

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

  7. How does the "Using" statement translate from C# to VB?

    May 20, 2009 · 2 Seems like using (C#) and Using (VB) have an extremely important difference. And at least for me now, it can defeat the purpose of Using.

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

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

  10. Exclude a column using SELECT * [except columnA] FROM tableA?

    SELECT * [except columnA] FROM tableA The only way that I know is to manually specify all the columns and exclude the unwanted column. This is really time consuming so I'm looking for ways to …