I was reading this question.
I understand Alex's answer using tensor products except the last part. I guess his conclusion is if $F^n \simeq F^m$ have the same module structure then $n=m$, but I don't know why this is true. Can anyone elaborate on this?