what using the ‘using’ block in c# does to your code

Let us take a simple console application which has the below code written in it     class Program     {         static void Main(string[] args)         {             using (SqlConnection connection = new SqlConnection())             {                 connection.Open();                 connection.Close();             }         }     } the IL that gets generated for the above program…

2