To make this work, you have to make your question and answer look like other questions and answers on Stack Overflow.
- Like Jeopardy, you must phrase it in the form of a question. Your question must follow the same formatting and guidelines for posting answers as everyone else's.
- Answer your own question in the answer, following the usual Stack Overflow guidelines for answering.
- You can accept your own answer two days after you post it.
Note that the debate about whether or not you can post an answer to your own question is a bit of a red herring; the "answer" you posted was not well-received because you didn't follow the Stack Overflow format: Questions are questions, answers are answers, and you didn't post a question.
Instead, you posted an answer where a question should be, to a question that... well, I don't even know what the question was.