Let $X$ be a topological space. It is known that if $A\subset X$ is finite then $A$ is compact. I want to know what condition must be added such that the converse holds, that is if $A$ is compact then $A$ is finite. I think that this condition holds whenever $X$ is discrete space.
What are other conditions such that every compact set is finite?
Is it true that if every compact space $X$ is finite then $X$ must be discrete space?
The co-countable topology on an uncountable set $X$ also has this property. (The nonempty open sets are those $U \subseteq X$ such that $X \setminus U$ is countable.)