Use using block to release object in perfect time

Sourav.Kayal
Posted by Sourav.Kayal under C# category on | Points: 40 | Views : 706
class Program
{
static void Main(string[] args)
{
SqlConnection con = new SqlConnection();
using(con)
{
con.Open();
}
Console.ReadLine();
}
}

Comments or Responses

Login to post response