What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 130 Stack Exchange communities.

I started to create a post on the regular stackoverflow site regarding creating extensions for a StringBuilder. Basically, the original code I had written was in VB.NET and I needed to port it to C#. Well, while I was writing up the post, I figured it out on my own. Can I place this code on stackoverflow for all to use? If the answer is yes, should I create it as a 'community wiki' post?

edit

Here is a link to the question I posted. Does this suit the bill? (sorry I want to make sure I do this right!)

share|improve this question

2 Answers 2

up vote 2 down vote accepted

Yes, you can do that as long as it's not asked/answered already. You should post the question and then answer it yourself.

No need for Community Wiki.

share|improve this answer
    
So just post a "Here is a useful extension for StringBuilders" 'question'? –  Anders Aug 13 '09 at 14:57
    
The main rule is that you phrase the post as a question, then post the code in the answer. "How do I make an extension that does ___ in string builder?", then post the answer below. –  Ian Elliott Aug 13 '09 at 14:58
    
I added a recomendation, post your question and then answer it with the solution –  jmfsg Aug 13 '09 at 14:58
    
Ok, thank you guys. –  Anders Aug 13 '09 at 14:58

What you should do is first write a question.

How do I port some VB.NET code to C#?

Your question here

Then post an answer to that question.

Make sure that you don't make the question or answer too specific to your problem, otherwise it may not be helpful to others..

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .