Property in another country

Can I purchase property in another country and avoid capital gains earned in excess of 250K (single person).