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

    Similarly, if within using body something may happen, which is not directly related to the variable in using, then I wrap it with another try for that particular exception. I rarely use Exception in …

  4. grammatical number - Using "are/is" after a list with "and/or ...

    Possible Duplicate: Singular or plural following a list James and Mark are going to help you. Here, I use 'are' because the subject is plural. James or Mark are going to help you. James or Mark is

  5. grammar - 'I was using', 'I have used', 'I have been using', 'I had ...

    Feb 5, 2011 · I was using cocaine. In the past, I was a habitual user of cocaine. EDIT: As the comment says, this can also mean a process in the past, e.g. "I was using cocaine when the …

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

  7. Does "using" statement always dispose the object?

    From using Statement (C# Reference) by MSDN. Defines a scope, outside of which an object or objects will be disposed. The using statement allows the programmer to specify when objects …

  8. How do you catch exceptions with "using" in C# - Stack Overflow

    using (SqlConnection conn = new SqlConnection(...)) { // do your db work here // whatever happens the connection will be safely disposed } If you want to catch the exception for some …

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

  10. Get unique values using STRING_AGG in SQL Server

    May 29, 2018 · The following query returns the results shown below: SELECT ProjectID, newID.value FROM [dbo].[Data] WITH(NOLOCK) CROSS APPLY STRING_SPLIT([bID],';') …

Refresh