First of all, welcome to
GPC.
I strongly urge you to adopt rather than buy, especially a skinny, because skinny pigs quite often are already at a disadvantage with compromised immune systems. When they come from breeding mills or pet stores they are more likely than not to be sick. If you do buy, please have a good exotics vet lined up and plenty of money in a vet fund. You're likely to need it sooner rather than later if you go this route.
Pigs are herd animals and will do much better as a pair or group. As long as there's adequate space, males can get along in pairs or even herds with little conflict. Are you planning to make a C&C cage? No amount of attention from a human will compensate totally or fill the need a pig has to interact with a creature of like kind. Male or female, they really will do thrive with companionship of other pigs.
Pet stores sell both sexes. If you insist on buying from one, please be prepared to come home with a missexed, likely quite ill, possibly even pregnant, animal.
Please reconsider buying a pig. There are so many in shelters, probably many near you, that would benefit from a great home. If you buy, you're only helping to continue a cycle of selling animals as merchandise - a cruel cycle that will go on and on an on until enough people set their minds to put an end to it.