Tuesday, July 14, 2009

Which programming to choose c# or vb.net?

I am a below average vb.net programmer ,now iam planning to take it as a profession ,so which one to choose c# or vb.net.Some of my friends are saying that there is a chance that ms may drop vb.net lan in future, is it true?


%26gt; is c# %26amp; vb.net both equally powerful(not say they r equal)


%26gt; which one is more productive(easy to build),if so how much difference


%26gt; is c# tough to master than vb.net


Most of them r saying that lan does't matter in .net platform,but i really need a comparison


If possible reccomend a good beginner book

Which programming to choose c# or vb.net?
In terms of performance, all .NET languages compile to almost the same Intermediate Language (IL) hence perform almost the same.





There is a myth that C# code is faster which is not totally true, but there is a grain of truth in that since VB.NET allows you to take actions that might make your code of a lesser performance. Such actions might not be possible in C#.





I advice you to study C#. C# coders tend to understand VB.NET code (if they had to read it) more than VB.NET coders understand C#. In addition, learning C# will make it easier for you to understand a Java snippet if you had to read it for some reason.





The syntax of C# is a BIT tougher than VB.NET, but once you get used to it, it will be very easy for you.





To start learning C# i advise you to read the following two books in the order specified:


1) Microsoft C# 2005 Step by Step (Microsoft Press) [This book is excellent for starters)


2) Programming Microsoft C# 2005: The Language by Donis Marshall - Microsoft Press





Hope the above helped.
Reply:It's not entirely true that the language in .NET doesn't matter. I myself prefer C#, it's a bit more powerful than vb.net, and also less verbose. It was designed specifically for .net, so even though I had done plenty of vbscript in ASP, I chose C# for .NET.


If you've done any C, or C++, Java, or Javascript, the syntax will not be unfamiliar either.





Best book to start : C# Primer Plus, deals almost entirely with just the core language.
Reply:Actually you need to first describe you programming requirements.


Overall if you are going to programme on windows you should use VB for best compatibility and less hesitations.


And if u use linux then no metter the gcc and g++ are the most advanced and best options.


but like wise for gui in linux i would like to prefer python.


No comments:

Post a Comment