I don't know if I made it very clear in my title, but here is my question, if I have a question, that can be perfectly answered by the answer to another question, should my question be marked as a duplicate of the other question just because the answer to the other one solves my one perfectly even if my question and the other question couldn't be more different? I've always just assumed that you copy the answer (maybe rewrite it in your own words) and then credit the answer you got all the stuff from.
But I saw a different approach to it today when @A.B. voted to close this question as a duplicate of this one just because the answer to it answered both questions, even though the two questions really couldn't, in my opinion, be any more different.
So which approach is it best to take in these circumstances?
Oh, I have just been informed that @A.B. has retracted his close vote, however my question still stands.