I asked this question yesterday and a user (can't remember who) gave an answer that did not help me, but in the comments gave a completely different answer that did help me find a solution. Now that answer (and the comment) have been deleted. Would it be bad for me to answer my own question based on the users comment?
I don't think this is a duplicate of What subjects would be good for a self-answered question? because I'm not asking if I have a good enough reason to answer the question (since the problem isn't solved in any other answers or comments), I'm asking if it's right for me to basically take credit for another users answer -- (I did find his name so I would credit him, but hopefully you get the point).