About 761,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

    That "using" keyword has been around for a while and it's meaning is quite clear to me. And using it helps make the rest of my code clearer by keeping the amount of clutter to a minimum.

  3. 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 / DisposeAsync are complementary, or they are doing something different.

  4. What's the scope of the "using" declaration in C++?

    Oct 22, 2008 · Just in case it's not clear from the other answers here: - Do not put a using declaration (or using directive) at file scope in an include file/header! That will cause headaches for users of the header.

  5. c# - Using .ToDictionary () - Stack Overflow

    Aug 31, 2010 · Edit The ToDictionary() method has an overload that takes two lambda expressions (nitpick: delegates); one for the key and one for the value. For example: var myDic = GetSomeStrings().ToDictionary(x => x, x => x.Number('A')); Note that the values returned by GetSomeStrings() must be unique.

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

    Dec 26, 2013 · 239 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 why the "using" keyword is used as such.

  7. 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 is reached or if an exception is thrown and control leaves the statement block before the end of the statement.

  8. Accessing Microsoft Sharepoint files and data using Python

    Jan 30, 2020 · 17 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 database (Sql server). I am using python. So,Please anyone suggest me how to do this and I am beginner for accessing sharepoint and working this sort of things.

  9. Defining and using a variable in batch file - Stack Overflow

    Defining and using a variable in batch file Asked 13 years, 4 months ago Modified 5 months ago Viewed 1.3m times

  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 documentation doesn't p...