About 737,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. What is the difference between using and await using? And how …

    Oct 29, 2019 · 44 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 / …

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

  4. Why use a using statement with a SqlTransaction?

    During my Googling I see many people using a using statement with a SqlTransaction. What is the benefit and/or difference of using this type of statement with a SqlTransaction?

  5. What is the logic behind the "using" keyword in C++?

    Dec 27, 2013 · 240 What is the logic behind the "using" keyword in C++? It is used in different situations and I am trying to find if all those have something in common and there is a reason …

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

  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 …

  8. c# - 'using' statement vs 'try finally' - Stack Overflow

    Jul 29, 2015 · The using statement ensures that Dispose is called even if an exception occurs while you are calling methods on the object. You can achieve the same result by putting the …

  9. Accessing Microsoft Sharepoint files and data using Python

    Jan 30, 2020 · I am using Microsoft sharepoint. I have an url, by using that url I need to get total data like photos,videos,folders,subfolders,files,posts etc... and I need to store those data in …

  10. Reading a file using a relative path in a Python project

    Reading a file using a relative path in a Python project Asked 8 years, 11 months ago Modified 1 year, 11 months ago Viewed 282k times