Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is mixing VB.Net and C# in the same solution not recommended?

I was reading this question when I noticed a curious comment underneath:

not sure what the question is: you can use VB.NET and C# projects in one solution (though I wouldn't recommend doing so).

I do this quite a bit, as we have legacy VB.Net code, and new code is written in C#. Is this really not recommended? Why not?

like image 542
JMK Avatar asked Mar 29 '13 15:03

JMK


1 Answers

There is no real reason to avoid this, other than adding complexity from having two languages in one "solution".

Your scenario (working with a legacy product, but adding new features) is a valid reason to have both languages used in a single solution, in my opinion.

like image 82
Reed Copsey Avatar answered Oct 21 '22 23:10

Reed Copsey