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

    8 Mar 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# - in a "using" block is a SqlConnection closed on return or ...

    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 going to …

  3. PowerShell Syntax $using - Stack Overflow

    31 Oct 2020 · The Using scope modifier is supported in the following contexts: Remotely executed commands, started with Invoke-Command using the ComputerName, HostName, SSHConnection or …

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

    27 Dec 2013 · 183 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 the using …

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

    20 Nov 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 …

  6. How does `USING` keyword work in PostgreSQL? - Stack Overflow

    29 Jan 2024 · A USING clause can be used with an EXECUTE statement in PL/pgSQL language (LANGUAGE plpgsql) for a function, procedure and DO statement. For example, you can use a …

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

  8. use和using的区别 - 百度知道

    use和using的区别为:意思不同、用法不同、词性不同。 一、意思不同 1、use:用,使用。 2、using:利用,运用。 二、用法不同 1、use:use是及物动词,接名词、代词作宾语。也可接由as短 …

  9. difference between ON Clause and using clause in sql

    3 May 2012 · The USING clause: This allows you to specify the join key by name. The ON clause: This syntax allows you to specify the column names for join keys in both tables. The USING clause The …

  10. How to use the `using` statement in method - Stack Overflow

    17 Apr 2018 · In particular, this is the difference between a using directive (which makes types available via different or shorter names) and a using statement (which calls Dispose automatically). They're …