Xi said China will work with Costa Rica in boosting cooperation in all fields so as to bring more benefits to the two peoples.
Mendoza, for his part, said the two peoples have a long history of mutual exchanges although the two nations are geographically far apart.
Since two nations set up diplomatic ties six years ago, they have made substantial accomplishments in their cooperation and exchanges, which has demonstrated the political wisdom and strategic foresight of both sides, he said.
Xi's visit has shown China's willingness to advance the Costa Rica-China relationship, and will surely deepen the friendship between the two peoples and further promote the bilateral ties, Mendoza added.
Representatives of Costa Rican political parties hailed the smooth development of the bilateral relations, and expressed their solid support for developing ties with China and for enhancing exchanges and cooperation between the two sides.
Xi is currently in Costa Rica for a state visit to the Central American country, following which he will travel to Mexico and then fly to the U.S. state of California for a summit with U.S. President Barack Obama.
Before Costa Rica, Xi also paid a state visit to Trinidad and Tobago.
Photo story: Mask girl's hard life