Garbage collectoe uses Mark phase & compact algorithm. it uses memory management shifts to heap of the memory objects.
Yes ExecuteNonQuery() returns a value which is of type int that denotes No.Of records affected after Executing the query.