am trying to compute the Z-transform of the following signal \begin{equation*} x\left[n\right]\:=\:\sum_{k=-\infty \:}^{\infty \:}\:\delta \:\left[n-k\right] \end{equation*} so I thought it would be \begin{equation*} X\left(z\right)\:=\:\sum _{n=-\infty \:}^{\infty }\left(\sum_{k=-\infty }^{\infty}\delta \:\left[n-k\right]\right)\:z^{-n} \end{equation*} exchanging the order of summation and including the z inside the parenthesis \begin{equation*} X\left(z\right)\:=\:\sum _{k=-\infty \:}^{\infty }\left(\sum_{n=-\infty }^{\infty}\delta \:\left[n-k\right]z^{-n}\right)\: \end{equation*} then we get \begin{equation*} X\left(z\right)\:=\:\sum _{k=-\infty \:}^{\infty }z^{-k}\: \end{equation*} which would be \begin{equation*} X\left(z\right)\:=\:\frac{1}{\left(1-z^{-1}\right)} \end{equation*}
Is this correct?? can somebody help me please. Thanks.