About 707,000 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. c# - try/catch + using, right syntax - Stack Overflow

    In other word, if you know that the initialization of a variable in using may throw a particular exception, I wrap it with try-catch. Similarly, if within using body something may happen, which …

  3. What's the problem with "using namespace std;"?

    The problem with putting using namespace in the header files of your classes is that it forces anyone who wants to use your classes (by including your header files) to also be 'using' (i.e. …

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

  5. Should 'using' directives be inside or outside the namespace in C#?

    I have been running StyleCop over some C# code, and it keeps reporting that my using directives should be inside the namespace. Is there a technical reason for putting the using directives inside

  6. c++ - Using std Namespace - Stack Overflow

    There seem to be different views on using 'using' with respect to the std namespace. Some say use ' using namespace std', other say don't but rather prefix std functions that are to be used …

  7. How do I use the C#6 "Using static" feature? - Stack Overflow

    Aug 6, 2015 · I'm having a look at a couple of the new features in C# 6, specifically, "using static". using static is a new kind of using clause that lets you import static members of types directly …

  8. Authenticate with GitHub using a token - Stack Overflow

    I am trying to authenticate with GitHub using a personal access token. In the help files at GitHub, it states to use the cURL method to authenticate (Creating a personal access token). I have …

  9. How do I find out which process is listening on a TCP or UDP port …

    You can get more information if you run the following command: netstat -aon | find /i "listening" |find "port" using the 'Find' command allows you to filter the results. find /i "listening" will …

  10. How to update/upgrade a package using pip? - Stack Overflow

    Nov 2, 2017 · What is the way to update a package using pip? those do not work: pip update pip upgrade I know this is a simple question but it is needed as it is not so easy to find (pip …