  We study a generalization of the classical Dedekind sum that incorporates two
Dirichlet characters and develop properties that generalize those of the
classical Dedekind sum. By calculating the Fourier transform of this
generalized Dedekind sum, we obtain an explicit formula for its second moment.
Finally, we derive upper and lower bounds for the second moment with nearly
identical orders of magnitude.
