There are a few problems with your 'answer':
It's not an answer. It's a sign post to the actual answer, but it doesn't solve the OP's problem by itself. When this is the case, you have two options:
- Post it as a comment (if it's another internal link)
- Expand the answer to include a summary of how it solves the user's issue, so that they don't have to go to the link if they don't want to.
Links die. When that happens, your answer becomes useless.
If you're just linking to another Stack Overflow question -- then you should probably just add a comment to the question letting everyone know it's a duplicate and has already been answered. When you get more reputation, then you should flag or vote to close the question as a duplicate.
Your answer was turned into a comment by a moderator. You deleted this comment.
If you'd like your answer to be undeleted, please edit it, make it a complete answer, and then flag it for undeletion.
In regards to your comment:
sure thanks. will write an essay next time. copy-paste answers are very well upvoted here – hiteshradia 1 min ago
Please don't plagiarize other user's answers in making your own. We have various ways of finding out when this happens, and it generally doesn't end well when someone plagiarizes content.