I have been looking at using in C# and I want to know if the following code is equivalent;
using (SqlConnection connection1 = new SqlConnection(), connection2 = new SqlConnection())
{
}
To this code;
using (SqlConnection connection1 = new SqlConnection())
using (SqlConnection connection2 = new SqlConnection())
{
}