Bhuvanesh Mohankumar
What is the purpose of using statement in C#?
By Bhuvanesh Mohankumar in .NET on May 08 2016
  • Shivam Shukla
    Jun, 2018 28

    Provides a convenient syntax that ensures the correct use of IDisposable objects.

    • 0
  • Afshan Khan
    Feb, 2018 23

    using helps to automatically dispose data once you are out of loop and is preferred rather than explicitly opening and closing connections of object. SYNTAX using () { }

    • 0
  • Bhuvanesh Mohankumar
    May, 2016 8

    using keyword is used to include a namespace in the program. A program generally has multiple using statements.

    • 0

Most Popular Job Functions