I suggest SO to show warning messages for VB.NET questions being answered with C# solution or vice versa.

closed as off-topic by Nathan Tuggy, S.L. Barth, Werner, Glorfindel, rene Dec 22 '16 at 8:33

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question pertains only to a specific site in the Stack Exchange Network. Questions on Meta Stack Exchange should pertain to our network or software that drives it as a whole, within the guidelines defined in the help center. You should ask this question on the meta site where your concern originated." – Nathan Tuggy, S.L. Barth, Werner, Glorfindel, rene
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 28
  • @Dee Jay: I've tried to help you out with your questions by removing the extraneous "PS VB Only" text, but you insist on that remaining. Your questions are appropriately tagged VB.Net. If people give you C# answers downvote them and leave a comment. – user7116 Jun 4 '11 at 3:48
  • 8
    @sixlettervariables: Downvoting them would be the wrong course of action. C# and VB.NET questions are rarely specific to the language itself. Any competent .NET developer should be able to read and write code in either language, and if they can't, they can use an online conversion tool. They're extremely accurate, a testament to how similar the source code is for both languages. Unless it's a syntactical question about VB.NET (in which case, it would not have a .NET or WinForms or whatever tag), you should not downvote working answers in C#. – Cody Gray Jun 4 '11 at 5:12
  • 1
    @Cody: I agree with you 100% (but shouldn't that also mean the C# guy attempts a VB.Net solution?). This particular user makes a habit of adding bold/italic annoying text that only a VB solution will be considered. Rather than downvoting answers he feels are unhelpful he mars the questions with extraneous text (and visits meta). – user7116 Jun 4 '11 at 11:29
  • @sixlettervariables: In short you don't respect VB.NET developer. – Predator Jun 4 '11 at 12:19
  • @Shog9: There is no rule to force you to post anything. Need to fulfill posting quota? – user774411 Jun 4 '11 at 13:42
  • 1
    @Dee Jay: Humour is acceptable here on the Meta site. Rudeness is not. You don't get rep from comments, anyway. Not a big deal. – Cody Gray Jun 4 '11 at 13:43
  • @Cody Gray: Discrimination against VB.NET developer is a form of humour or rudeness? Be yourself. Don't afraid of those people with Little diamond ♦ or 6-figure reputations. – user774411 Jun 4 '11 at 13:50
  • 1
    @Dee Jay: Shog is not discriminating against you. I'm a VB.NET developer (among other things, but it's definitely my favorite language), and I don't think that comment is offensive. Bringing your sense of humour is important on Meta. I'm not afraid of anyone; I've sassed and contradicted plenty of moderators and high-rep users when there was a reason to do so (or it was funny). Please don't make assumptions about my self-confidence. I've got plenty of it to go around. – Cody Gray Jun 4 '11 at 13:52
  • @Gens: I don't follow? I give VB.Net answers to VB.Net questions, C# answers to C# questions. I make it a habit of removing extraneous text from a question (like "PS VB Only") if the tags are sufficient to convey that information. Where have I disrespected VB.Net developers? – user7116 Jun 4 '11 at 14:37
  • 7
    @dee: discrimination? I am, among other things, a VB dev - you gotta be able to laugh at yourself in this line of work. – Shog9 Jun 4 '11 at 16:21
  • 1
    For those who don't agree with the FR (I don't), just downvote it, please stop trying to close a legitimate feature request. – Lance Roberts Jun 4 '11 at 19:37

I believe the community is well enough capable of policing this kind of issue on its own.

Since we're in the land of .NET, many times a C# answer will in fact be sufficient to get the VB asker past a particular problem. And the C# answerer is already often enough saying "sorry, this is C# code, I'm not entirely sure of the VB syntax" or some other such disclaimer.

Expanding outwards to cover the non-.NET universe, if the answer is indeed in the wrong language and it does not assist in answering the question, that's where we have downvotes. But if the answer helps move the needle, then the language itself is not a problem. It could even be pseudocode, for all we care.

  • 9
    VB basically is pseudocode. Note, I am a VB.Net developer. – Kibbee Jun 4 '11 at 2:45
  • I always feel bad for the VB.Net devs who ask for help and all I have for them is C#. It's ok at work where they'll at least look at C#. A lot of the folks on SO won't even glance at a C# answer. – user7116 Jun 4 '11 at 3:49
  • @Kibbee: C# is real code right? Too bad another VB.NET bashing session! – Predator Jun 4 '11 at 12:27
  • 3
    I actually love working in VB.Net. I'd rather see a bunch of endifs and nexts than a bunch of curly braces. Not to mention the background compiler rocks my world. – Kibbee Jun 4 '11 at 16:20

Then next we'll have warnings for C and C++, fizz and buzz .. boom and bang .. where is it going to stop .. lisp and fainbruck?

I think this kind of automatic rejection / warning is just a bad idea, globally. It's way more expensive than it's worth.


Considering they are using the same framework, and answers usually aren't that complex, it should be well within the abilities of any programmer to translate an answer from one .NET framework answer to another.

Even for VB.NET developers.

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