It's difficult for me to explain shorebird differences, but I'll try. Yellowlegs have more densely-spotted wings and back (especially around the neck and shoulder areas) and a less prominent eyering than Solitary Sandpipers. Yellowlegs also have longer, yellower legs, longer necks, and very slightly thinner bills. Their heads also tend to look more gray to me than the brownish Solitaries.