I asked this question yesterday - Create SQL row from one variable in C#. In my opinion it was a genuine, beforehand researched, well formatted and grammatically correct question. When I opened it today I found out it has been downvoted. I am not sure why.
I am quite new to programming and even though, I feel like I learnt a lot since I started this journey 4 months ago, I know I just brushed the surface. Because my knowledge is quite limited, sometimes I am not even sure how to phrase the question for Google and going nowhere with my own research. Services like Stack Overflow are priceless sources of information but I am getting more and more reluctant to ask my own question as I don't want to get downvoted and lose the reputation points.
Can someone let me know what I did wrong and how could I make the question better?
Also, is there any mechanism in place to stop people from randomly downvoting a question? Perhaps my downvote was a result of someone having a bad day?
c# create sql query from array
.