
Convert VB.Net to C#, convert C# to VB.Net
The argument in the thread is not invalid and I agree with some parts.
But, if anyone can be bothered to read my ramble (excerpt taken from
one of your contributions to the thread)
Quote:
> If you learn C#, you will also be learning
> JavaScript for your web pages.
this is the crux of my reason for choosing VB.Net - to avoid adding
another C-like language to my repertoire, each with subtle differences
to all the C-like languages I already program in. As a professional
programmer I find myself maintaining several projects concurrently and
written in a variety of languages (inc. Java, VB, VBA, MSVC++ and
PL/SQL). Being a jack of all trades doesn't afford me the luxury of
specialising. Being a jack of all trades I find things very
frustrating at times because of the silly subtle differents between
the two similar languages. I looked initially and C# and thought of
the nightmare confusion I would have because I regularly program in
Java, all the similarities. It would be like revisiting all those
horrible subtle differences between VB and
VBA - so close yet so far
away.
One of the lovely things about .Net is you can choose your language
and, given this choice, I have personally chosen VB.Net. The
investment in time for all of us in the framework base classes and
concepts. The language syntax (should be) the easy part for
professional programmers and if forced, we could all learn another. I
just wanted a quicky tool to do the (syntax) conversion for me. Their
are advocates, in a sense a form of in-fighting, that are suggesting
one of C# or VB.Net is the way to go. Personally I'm in favour of the
language options increasing - the common part for job security is the
framework/VM. The implementation - who really cares as there's a dirty
tool to do converting. And this is what I want.
Kind regards
David
Quote:
> You might want to look at this recent thread in regards to your decision to
> choose VB.NET over C#
> One more Benefit of C# over VB.NET
> http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&th=6e09171011a37c5...
> =MPG.190b7da3431619f5989b83%40news.microsoft.com&frame=off
> > Hi, I've chosen to do development in VB.Net over c# because I don't
> > want to program in another c-like language each with subtle
> > differences to the others I program in (VS/C++ and Java).
> > There are many examples of code out there in VB.Net and many examples
> > in c# and I constantly use them as reference or how-tos. Rarely are
> > both or the right language snippets available.
> > I write this post to ask whether there is a tool, whether available
> > third-party or as part of VS.Net (I am using VS.Net professional) that
> > will convert between c# and VB.Net and vice-versa. Most of the time
> > the conversion is trivial but I am getting a little frustrated in
> > recent days sourcing an example of something I want to do in one
> > language, and converting the snippet to another where the conversion
> > is not obvious.
> > My ideal application would be a small (and preferably free) utility
> > that I could past in a source-code snippet in one language, and select
> > one of two option buttons marked c# and VB.Net and see the two
> > different sources. Is something like this out there?
> > Thanks
> > David