.22 Rimfire? The most bang for the buck is a Ruger Mark II Target.... either a 5-1/2" bull barrel or a 6-1/2" tapered heavy target barrel. Add a Volquartsen sear, hammer, and trigger (about $100) and you have a VERY competitive pistol. The Mark II is out of production, so you need to hit the gun shows. The currently produced Mark III is a "lawyerized" version of the Mark II, and seems to be less popular.
Centerfire? I'm a 1911 fan... Kimber, Springfield Armory competition models, or an old Colt Gold Cup. If it ain't a 1911, I must plead ignorance. I've shot a bunch (Beretta, Glock, Ruger, Springfield XD....) but never warmed up to any of 'em.