I posted a question with its answer on SO and within minutes got two negative votes on the question and a comment on the answer scolding me for posting my answer at the same time as my question:
why would you ask a question an then post that code in the answer.. what is that ..is this working code or non working code..? put it as part of your initial question if this is the code that is not working
So, stackoverflow.com, please officially identify those question answer pairs as a Share Your Knowledge post so that readers understand what they are looking at. That way the question and answer pair being posted simultaneously will make sense.
My example case is here:
Dynamically read the value of configSource from connectionStrings in ASP.NET
Originally I posted merely the question and the answer. But I can see how odd that would appear to someone who did not get that you can post a Q&A to share with the community. So I looked like an ass because of that.