A rotation by \( 90^\circ \) counterclockwise of a complex number \( z = x + iy \) can be achieved by multiplying it by \( i \), i.e., the new number is \( iz \).
So, \[ z = 2 + i \] \[ iz = i(2 + i) = 2i - 1 = -1 + 2i \] Thus, the correct answer is (C).