c# vs vb.net (Discussion)

5 replies
okay i browsed the whole programming forum of bhw and saw lot of threads of versus this versus that.
seems that most preferred languages here on bhw are c# , python and delphi, mainly because they are good for bots.

anyway i couldnt find a thread where c# and vb.net are covered i saw lot replies that vb.net is very similar to c# , i tried both and seems that vb.net is little bit easier to learn and understand.

but why is c# more preferred than vb.net or am i wrong.
what speaks for vb.net and what for c#.

also if you think there's a better language than both please comment with your reason ( i know theres no perfect language , perfect is what your suits but there should be a language that is easier, faster and can do lot of tasks)
#discussion #vbnet
  • Profile picture of the author Brandon Tanner
    The biggest difference between C# and VB is the syntax. In my opinion, VB is easier to understand for someone brand new to programming. But functionality-wise, they are almost exactly the same (they share the same exact framework, so it makes sense that they can both take advantage of pretty much everything that framework has to offer).

    There are a handful of minor differences, of course, but those differences have more to do with coding "style" (for lack of a better word) than with functionality.

    See this for a more in-depth comparison.
    Signature

    {{ DiscussionBoard.errors[7972976].message }}
  • Profile picture of the author mekdroid
    Generally, VB.NET is easier to learn (it is a dialect of Basic, after all). Keep in mind that both are .NET languages, so they are pretty much equivalent in what they can do. There are even automated tools to convert C# to VB.NET and back.

    I am a developer and at work we use a combination of VB.NET, C#, Delphi and Java (not because we want to, but because we have to--legacy code, platforms ...)

    C# is probably best for someone that comes from a C/C++ background.
    Signature

    Temporary occupation of some valuable piece of technical real-estate, followed by a negotiated retreat with full coffers

    {{ DiscussionBoard.errors[7973084].message }}
  • Profile picture of the author annaharris
    Both vb.net and C# are good to use but vb.net is more easier that c#. Furthermore, you can use both at one time.
    {{ DiscussionBoard.errors[7982797].message }}
  • Profile picture of the author annaharris
    I have worked lot of time with C#, So I can say that VB.NET is more preferable for letting you get work done in terms of IDE and compiler support.
    {{ DiscussionBoard.errors[7982835].message }}
  • Profile picture of the author Valdor Kiebach
    Originally Posted by milooot View Post

    okay i browsed the whole programming forum of bhw and saw lot of threads of versus this versus that.
    seems that most preferred languages here on bhw are c# , python and delphi, mainly because they are good for bots.
    This isnt BHW.

    Just copy paste a post from another forum?

    Anyway a language better than both would be C++ as it is not tied to Microsoft like C# and vb.net
    {{ DiscussionBoard.errors[7983853].message }}

Trending Topics