About 69,400,000 results
Open links in new tab
  1. What are the uses of "using" in C#? - Stack Overflow

    Sep 16, 2008 · The using statement calls the Dispose method on the object in the correct way, and (when you use it as shown earlier) it also causes the object itself to go out of scope as …

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

    Dec 26, 2013 · In C++11, the using keyword when used for type alias is identical to typedef. 7.1.3.2. A typedef-name can also be introduced by an alias-declaration. The identifier following …

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

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

    Dec 16, 2014 · The using-directive exists for legacy C++ code and to ease the transition to namespaces, but you probably shouldn’t use it on a regular basis, at least not in your new C++ …

  5. .net - use of "using" keyword in c# - Stack Overflow

    Nov 20, 2009 · using has two meanings in C#: using for IDisposable means that when the block of using ends Dispose method will be called. using for namespace means that the types from the …

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

    Aug 6, 2015 · using static is a new kind of using clause that lets you import static members of types directly into scope. (Bottom of the blog post) The idea is as follows, according to a …

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

    May 20, 2009 · Its important to point out that using is actually compiled into various lines of code, similar to lock, etc. From the C# language specification.... A using statement of the form. using …

  8. What is the difference between using and await using? And how …

    Oct 29, 2019 · Now let's switch from using to await using. Here is the output of the second experiment: Duration: 1,005 msec The implicit call to DisposeAsync returned a ValueTask that …

  9. MySQL JOIN ON vs USING? - Stack Overflow

    The USING clause works for Oracle, PostgreSQL, MySQL, and MariaDB. SQL Server doesn't support the USING clause, so you need to use the ON clause instead. The USING clause can …

  10. What is the difference between 'typedef' and 'using'?

    Updating the using keyword was specifically for templates, and (as was pointed out in the accepted answer) when you are working with non-templates using and typedef are …