How to update VB .net code to C#
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
John GodelRank #3 · 84.5K reputationPosted Apr 4, 2025, 3:40 PM EDT
You can use online tools to convert entire chunks of code:
?? Telerik Code Converter (VB.NET ? C#)
Just paste your VB.NET code and it will give you the C# version.
Other tools:
SharpDevelop (legacy) – had built-in converters
dotnet Convert tools for VS
Rikam PalkarRank #52 · 30.2K reputationPosted Apr 5, 2025, 2:16 PM EDT
You can tangible, it is available as a Visual Studio extension too.
https://www.tangiblesoftwaresolutions.com/product-details/vb-to-csharp-converter.html