Diagonal matrices/Linear subspace and dimension/Exercise

Let be a field, and . Show that the set of all diagonal matrices is a linear subspace in the space of all -matrices over , and determine its dimension.