简体   繁体   中英

Using VB.NET and C# in the same solution

My organization has previously written software in VB.NET. We decided to do some enhancements upon it and were wondering whether we can write the new enhancements in C#? Can VB.NET projects live side-by-side with C# projects?

What about performance?

Are there any other issues?

A VB.NET project can interface perfectly fine with one written in C# as they are both compiled to MSIL. There shouldn't be any performance impacts.

The main issue you would have to deal with is your solution is going to get more complicated if it contains multiple languages. Plus developers will need to have knowledge of both VB.NET and C#, in general C# developers get grumpy when they are forced to work in VB.NET ;)

On the flip-side, there are far more C# developers than VB.NET developers.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM