Thursday, October 26, 2006

Code converters (...MS languages obviously...)*

Thursday, October 26, 2006 9:49:05 PM (GMT Standard Time, UTC+00:00)

No doubt some of you are like me and dislike situations where you find a great code snippet online then to recognise its not in your chosen language ie  VB or C# - :S. Well, I had found a site before that helped me a lot in this area.. more specifically in moving from C# to VB, and today I found another two sites that allow conversions - :D. So being the nice gentleman I am, I thought I'd post'em all for your benefit and just in the event I forget the links myself!

Here are both sites: site 1 (allows C# -> VB and also has an offline converter, I'm yet to try the offline one), site 2 (allows conversion both ways) and site 3 (allows for both ways AND does it REAL TIME ie when you type, it converts, no buttons to click).

So far these have worked pretty well for me but each one may have its own little "known issues" (documented or not), therefore one should read the sites carefully before copy/pasting code into the textboxes. Especially if you have secret, classified, level 500 clearance code (yea... right). EnjOy!

Related posts:
Select a random row in MS SQL...
Regular expressions
VS2005, ASP.NET 2 & DLLs, DLLs..
MS's ASP.NET and.. PHP
2-way databinding cascading drop down lists within a FormView
ApplicationName Property when customising providers

Friday, October 27, 2006 8:55:19 PM (GMT Standard Time, UTC+00:00)
c'mon nurse, let's be programmers here. if you have some code that's in C#, use that class (hopefully the person was kind enough to complete the code) and either inherit and build on to it, or just reference that assembly.

Unleash the power of .NET :)
Friday, October 27, 2006 9:00:39 PM (GMT Standard Time, UTC+00:00)
Yea yea, but usually it's just a snippet, not as complete as a class. And if it was class potential, I'd still have to add in some c# to complete it.
AND, knowwinggg that I not a fan of c#, this is just way too much work. Especially when I have great code converters like these. :)
Jason Nurse
Friday, October 27, 2006 9:02:13 PM (GMT Standard Time, UTC+00:00)
ugh... what kind of programmer in their right mind would want to use VB.NET ?
Friday, October 27, 2006 9:04:47 PM (GMT Standard Time, UTC+00:00)
What I usually do, is put all the useful VB.NET source I find into a nice assembly, called VBFunctions and I just refer to it from the C# projects. (I do know how to code VB.NET though :)
Friday, October 27, 2006 9:09:30 PM (GMT Standard Time, UTC+00:00)
ugh... what kind of programmer in their right mind would want to use VB.NET ?

> eh! ME!

(I do know how to code VB.NET though :)

> Because it's the superior language. duh. :D You're just a hater.
Jason Nurse
Comments are closed.