About 700,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. .net - use of "using" keyword in c# - Stack Overflow

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

  3. 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 mechanically identical, so …

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

  5. What scope does a using statement have without curly braces

    Jul 18, 2014 · So if you are using using var resp = req.GetResponse() inside of the root block of a method, then the using variable will have method scope, actually similar to the defer statement in go.

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

    Oct 21, 2010 · I had been using cocaine. Meaning, with a reference point in the past, starting a time before then up to the reference point, I was habitually using cocaine up to and including that point. …

  7. c++ - Using std Namespace - Stack Overflow

    There seem to be different views on using 'using' with respect to the std namespace. Some say use ' using namespace std', other say don't but rather prefix std functions that are to be used with '...

  8. What is the use of "using namespace std"? [duplicate]

    Sep 20, 2013 · What is the use of using namespace std? I'd like to see explanation in Layman terms.

  9. Why use a using statement with a SqlTransaction?

    52 I've been running into some problems concerning a SqlTransaction I'm using in my code. During my Googling I see many people using a using statement with a SqlTransaction. What is the benefit …

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

    Jul 29, 2015 · From MSDN, using Statement (C# Reference) The using statement ensures that Dispose is called even if an exception occurs while you are calling methods on the object. You can achieve …