I am currently working on a C# project and I am running an insert query which also does a select at the same time, e.g.:
ExecuteNonQuery - returns the number of rows affected.
ExecuteNonQuery
SqlCommand comm; // other codes int numberOfRecords = comm.ExecuteNonQuery();