1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

VB.NET and C#

Discussion in 'Software' started by smithcarvo, 8 Sep 2008.

  1. smithcarvo

    smithcarvo New Member

    Joined:
    13 Aug 2008
    Posts:
    2
    Likes Received:
    0
    Hi all,

    Can any one help me,what is the difference between VB.NET and C#?


    I will highly appreciate your feed back.

    Thanks in advance.
     
  2. RTT

    RTT #parp

    Joined:
    12 Mar 2001
    Posts:
    14,120
    Likes Received:
    74
    vb.net is visual basic implemented on the .net framework and c# is a language developed by microsoft
     
  3. BentAnat

    BentAnat Software Dev

    Joined:
    26 Jun 2008
    Posts:
    7,180
    Likes Received:
    207
    Dependant on where in the world you are, C# is more wanted than VB.NET.
    C# uses C-style syntax, and VB.NET uses VB style syntax (making C# easier to learn, IMO).
    So long as you're using the .NET framework (which is default, if you're running Visual Studio.NET), they both compile to the same code.

    C# is more popular (as said - that's conditional) due to easier readability, etc.

    Oh, and VB makes you lazy... :p
     
  4. Akava

    Akava Lurking...

    Joined:
    28 Jul 2007
    Posts:
    1,213
    Likes Received:
    26
    VB.net is a horrible language.

    I had to study it last year for college... it sucks.
     
  5. koola

    koola Banned

    Joined:
    11 Jul 2004
    Posts:
    2,401
    Likes Received:
    10
    csharp is a lot better.

    If you're developing software, stay clear of .Net as it's really easy to decompile/reverse engineer.
     
  6. Elv13

    Elv13 New Member

    Joined:
    26 Apr 2006
    Posts:
    107
    Likes Received:
    0
    And work only on Windows. You should use C++ and wxWidget or Qt (if you want to make your code open source), they are good too and crossplatform. Qt is better than .net, but you have to pay a licence if you dont want to publish your code.
     
  7. Firehed

    Firehed Why not? I own a domain to match.

    Joined:
    15 Feb 2004
    Posts:
    12,574
    Likes Received:
    16
    To answer the question... the differences are mostly syntactical. I'm not particularly talented at either (due to lack of experience, which is due to a serious lack of caring), but C# as you might expect is relatively close to other C-style languages. VB is just... weird. I swear it's got the least logical syntax of anything out there, including the block of regex that is Perl.

    Though given your sig, it seems you should know that already.
     
  8. dark_avenger

    dark_avenger Well-Known Member

    Joined:
    9 Jul 2008
    Posts:
    1,108
    Likes Received:
    46
    C is a lower level programming laungauge and gives you more access to devices, etc.
    VB is less powerful.
     
  9. BentAnat

    BentAnat Software Dev

    Joined:
    26 Jun 2008
    Posts:
    7,180
    Likes Received:
    207
    That's C/C++ though...
    C# is based on .NET, as is VB.
    There ARE differences - things you can do in one of them, that the other can't do like that, but the majority of it .NET.
    They also compile to the identical LLC
     

Share This Page