IN Canada means, you will need to get first visa either sponsor/visit/skilled etc to travel to Canada and then marriage while in your own Country (Pakistan), if that Canadian Citizen is there, would be best to get married there, later on he/she will sponsor you as family member.
Just my personal opinion, be carefull... marrige for visa ony?? CIC is bieng suspicious even on real merrieges. Good luck.