When you choose your best answer there is a space provided to add a comment. You could thank them for their help in that space. After you choose the best answer a notice is sent to the person's "answer page" to tell them that one of their answers has been chosen as best and that they recieved 10 points. They can click a link on that page to take them to the question they answered where they can see your comment about the answer.