Is Costa Rica a dangerous place to visit?

Armed robbery ,theft.
Specially in tourist areas like Tamarindo.
Places to avoid & general tips on safety.
Recommendations welcome.Thanks.
11 answers 11