Dim commands As String() = alterScopeSql.Split(New String() {"GO" & vbCr & vbLf, "GO ", "GO" & vbTab, "GO"}, StringSplitOptions.RemoveEmptyEntries)this is part of the following:
Dim strConnectionString As String = "" strConnectionString = Settings(tcMode) Using connection = New SqlConnection(strConnectionString) 'New SqlConnection(toConnection.ConnectionString) connection.Open() Dim commands As String() = alterScopeSql.Split(New String() {"GO" & vbCr & vbLf, "GO ", "GO" & vbTab, "GO"}, StringSplitOptions.RemoveEmptyEntries) For Each c As String In commands Dim command = New SqlCommand(c, connection) command.ExecuteNonQuery() Next End UsingI would appreciate an explanation of what this line of code is trying to do and may need some help in translating it to C#.