I got shocked by DC and by AC of the same voltage level. The DC just burned my skin and hurt a bit but the AC burned my skin, made my arm knock back pretty hard, shut my hand tightly and hurted like hell.
The frequency is irrelevant. The frequency correlates directly to the power level, and since it's on a sine wave, no matter the frequency, for any given amount of time, it will be on half of the time and off half of the time. AC is usually at a higher amperage than DC; voltage isn't what really hurts you. It's the amps that hurt you. Basically, think of it as voltage being the length of a needle and amps being the width. By increasing the volts (length), you're just increasing potential difference between two points (in the needle brown townogy, the length). With the amps, you're increasing how much flows through, or the width. Now, when you stick that needle into you, which increase will cause you more pain? Amps (width).