In emacs off late I have had to write some lines of code which are quite repetitive in nature. Consecutive lines are almost exactly the same except for some trivial modifications.
Is there a keystroke in emacs by which the line the cursor (point) currently on gets duplicated onto the next line. To generalize this, if I could specifiy which line number onto which I want to paste the current line, that would also be great.