Code center > Darwinbots3

Converting C# into vb.net

(1/2) > >>

Botsareus:
Can you fully translate c# into vb.net or is there some systems that can't be translated?

Prsn828:

--- Quote from: Botsareus ---Can you fully translate c# into vb.net or is there some systems that can't be translated?
--- End quote ---

Umm, why would you ever want to do that?

Honestly, I really don't think so, but if you allow "goto" statements then I am inclined to believe it might be possible.

Really though, what would possess a person to convert C# into VB.NET?
Perhaps you meant VB6 to VB.NET
If that is the case, the answer remains the same, except without all the "what are you thinking!?" statements

Shasta:
VB.NET to C#
That worked for me the other day when someone sent me something in VB.NET and I wanted to have it in a more comfortable form. No idea how it works on the project scale. It should work however as C# and VB.NET both run on the CLR (As long as there is no "unsafe" code in the C# project)

Botsareus:

--- Quote ---Really though, what would possess a person to convert C# into VB.NET?
--- End quote ---

I am a vb junky, that is, it's the first programing language I ever learned and I am very comfortable in it.

Numsgil:
C# and VB.NET both get compiled into something called CIL.  See clicky.  So there are a few programs floating about which can convert between the various .NET languages.

That said, Bots, seriously it's been years.  It isn't that hard to learn another programming language.  It is going to be uncomfortable at first.  It's sort of like learning to walk all over again.  But it's always worth the effort.

Navigation

[0] Message Index

[#] Next page

Go to full version