In C# how can I duplicate a value in a list? I have found tons of solution smart solutions (especially in Linq) for how to remove but none on how to duplicate and in any case couldn't adapt to the code to my needs.
E.g. if I want to duplicate 16 --> Lst {0 0 12 13 16 0 3} ---> {0 0 12 13 16 16 0 3}
I wouldn't have to cycle on them but would prefer a single instruction
Thanks for helping
Patrick