Using statement in c#

Using statement in c#

In this article, you will learn how to use the using statement obtains one or more resources, executes a statement, and then disposes of the resource.

using (SqlConnection conn = new SqlConnection())
{
       // code here.............
}

2021-10-03