Covalency of N is 4 in N2O5 and its oxidation state is +5.
As clear from the structure of N2O5, covalency of nitrogen is 4 but the oxidation state is +5. x−2 N2O5 is a neutral compound. Let the oxidation state of N2O5 be x. (2×x)+(−2×5)=0 2x−10=10 x=5