Suppose We have a charged rotating cylinder such that the magnetic field inside it is the same as a solenoid of the exact same dimensions. Obviously, the current per-unit length for both will be the same.
Now, what can we say about the magnetic flux in the cylinder since there is no n (turns per unit length)? What can we comment about inductance? It depends on n and not current.