I asked a question on SO and someone gave me the answer as a comment to the question. Subsequently, someone else gave the same answer as an answer. I'd like to give credit to the poster who made the comment. Any way to do that? Being new to the site, my only thought would be to contact the commenter and tell him to post an answer if he/she wants credit.
In this particular case, the poster of the comment didn't know what he was talking about, so he didn't want to risk posting as an answer and getting downvotes if he was wrong.
He probably doesn't care about it that much, so I advise just upvoting and/or accepting the answer you got in the answer section.