The specific heat indicates how much energy (heat) is needed to raise the temperature of 1 gram of a substance by 1 degree C.  Because we have more than 1 gram of silver and need to raise the temperature by more than 1 degree, we need to multiply the special heat by mass and by temperature change.

0.235 J/g C * 8 g * 50 C = 94 J