I was wondering how do i go about generating unique random numbers?

for example:

i want to generate 5 numbers between 1-10. i want no repeating numbers to
occur.


thanks to anyone who can help.