Sharif, who is here to take part in the neighbourhood leaders conference being organised by China on the sidelines of the Asia Pacific Economic Cooperation (APEC) leaders meeting, held talks with Chinese President Xi Jinping and Premier Li Keqiang.
Terming China and Pakistan as "iron friends", Xi, who cancelled his to visit to Islamabad during his South Asia tour in September due to tense confrontation between the government and the opposition parties in Islamabad, told Sharif that the two countries will continue to support each other and strengthen cooperation.
Some Chinese netizens have coined the phrase of "Iron Paks" to refer to Pakistanis, Xi was quoted as telling Sharif.
Besides issues related to China's concerns over terrorist attacks in Xinjiang with militants infiltration from across the border in Pakistan, the two leaders discussed the emerging situation in Afghanistan in view of the US plans to pullout its troops from the war-torn country, state-run Xinhua news agency reported.
Also Read
China looks to play a bigger role in Afghanistan in the aftermath of the US troops withdrawal.
China has been pressing Pakistan to crackdown on ETIM militants.
During Sharif's meeting with Li, the two sides signed 20 agreements, the report said.
The agreements signed during Sharif's visit according to Pakistan's Minister for Planning, Development and Reform Ahsan Iqbal are worth about USD 46 billion.
Of this USD 35 billion worth of agreements are related to energy development projects to boost power in Pakistan and the rest to develop the infrastructure projects, he told Radio Pakistan.