Generally yes as long as they support the same wireless standard. B is the old one, G is the current and a lot of people have "sorta N". The N's will not work across brands because they are not to a released standard.
Forget B it is out of date, too slow and too unsecure.
Go for a G and anything will work together and with the older B's, but not secure and slower with the B equipemnt.
N will work with B and G also but you won't get the speed advantage so it's wasted money since G is much cheaper.
EP, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS