Thursday, July 30, 2009

How can i convert C# code to vb.net code?

Outside of a line by line update - you do know that C#.NET libraries can be used by VB.NET right? Just something to think about..

How can i convert C# code to vb.net code?
Come on, all your DLLs can be refered by VB applications without convertion.
Reply:I actually use SharpDevelop if I find some snippet of code I'm too lazy to do it myself without a tool. SharpDevelop is a complete IDE, so it's not the most practical way but it's the most accurate way:





http://www.icsharpcode.com/OpenSource/SD...





I also use this one. There is also a desktop version to download:





http://www.kamalpatel.net/ConvertCSharp2...





Keep in mind, there may be some things in C# that just won't convert to VB .NET because there are still some things both languages have independently.





edit: Unless I'm misunderstanding the other answers: he's talking about converting snippets of code, guys.


No comments:

Post a Comment