Results 1 to 15 of 15

Thread: VB.NET vs C#...

  1. #1

    Thread Starter
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091

    VB.NET vs C#...

    I'm looking to get into a .NET language. I'd say I'm pretty well versed in VB and Java, so what would be the advantage(s) of getting into C# over VB.NET?

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  2. #2
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,539
    yep
    fools pick vb.net

    there is FAR more material out there on c# then there is for vb.net

  3. #3
    Addicted Member
    Join Date
    Apr 2002
    Posts
    235

    probably doesn't matter

    Ya know VB, ya know java - it probably doesn't matter which language you learn. You'll probably get so you can read/write in both of them pretty well.

  4. #4
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    fools listen to kovan.

    wuhahah

    just kidding kovan. We havent had an insult match in awhile

    As far as speed and what they both can do, they are pretty much the same. The only real differneces are the syntax(D'uh) and C# has a few other features which may or may not be handy for you. Like bit shift operator, overloading operators, and pointers although using pointers must be marked as unsafe within the code. So if you need to do some lower level stuff but still have all the ease of VB, go C#. Truthfully if you know and understand the framework and the capabilities, learning the syntax is nothing and there is no reason not to know both VB .NET AND C#. I use em both. VB .NET at work(since other devs here are predominatly VBers) and C# for my personnal projects.

    Also another factor is comfort. What syntax do you feel more comfortable using? I never programmed in C/Java so the syntax for C# was new to me, but I picked it up within a week and for some reason, I felt much more comfortable using C# than VB .NET. Go figure!
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  5. #5
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,539
    Originally posted by Cander
    fools listen to kovan.

    wuhahah

    just kidding kovan. We havent had an insult match in awhile

    As far as speed and what they both can do, they are pretty much the same. The only real differneces are the syntax(D'uh) and C# has a few other features which may or may not be handy for you. Like bit shift operator, overloading operators, and pointers although using pointers must be marked as unsafe within the code. So if you need to do some lower level stuff but still have all the ease of VB, go C#. Truthfully if you know and understand the framework and the capabilities, learning the syntax is nothing and there is no reason not to know both VB .NET AND C#. I use em both. VB .NET at work(since other devs here are predominatly VBers) and C# for my personnal projects.

    Also another factor is comfort. What syntax do you feel more comfortable using? I never programmed in C/Java so the syntax for C# was new to me, but I picked it up within a week and for some reason, I felt much more comfortable using C# than VB .NET. Go figure!
    man insults are always good when i get into programming too much. The more i get into c# the more i fall in love with it

    its like SOO sweet

    and you learned the syntax in a week cus i kept kicking you when you were asking vb stuff or talking about vb.net

    i just got a steel toe boot.....

  6. #6
    Hyperactive Member kleptos's Avatar
    Join Date
    Aug 2001
    Location
    The Dark Carnival
    Posts
    346
    I looked at both C# and VB.NET before making my decision, and looking extensively on the web for resources and so on, i would say C# has more resources. Thats always a good sign when your starting out. Tons of C# communities and so on for help and such.

    I personally think C# is more used and accepted then VB.NET based on what i have seen....
    ..::[kleptos]::..
    • Database Administrator (MSSQL 2000)
    • Application Developer (C#)
    • Web Developer (ASP.NET)


  7. #7
    joan_fl
    Guest
    I personally prefer C#.. Maybe cause I know VB too well

  8. #8
    New Member
    Join Date
    Aug 2001
    Location
    ohio
    Posts
    5

    Talking

    It also looks as if C# programmers will be making about $4,000 to $5,000 dollars more per year. This was in the visual studio.net mag.

    I'm learning both. I'm a VB guy by trade but I use C++, PERL and Powerbuilder.
    Scoop

  9. #9
    Fanatic Member Matt_T_hat's Avatar
    Join Date
    Dec 2001
    Location
    '76 Male Body Evil-Errors: 666
    Posts
    774

    Re: VB.NET vs C#...

    Originally posted by crptcblade
    I'm looking to get into a .NET language. I'd say I'm pretty well versed in VB and Java, so what would be the advantage(s) of getting into C# over VB.NET?

    The whole .NET thing is grossly over hyped (still) where as C has the tendency to have other users (esp if working in VB).

    Well that's my two peneth...
    ?
    'What's this bit for anyway?
    For Jono

  10. #10
    Addicted Member
    Join Date
    Apr 2002
    Posts
    235
    I was thinking just yesterday that I haven't seen anyone say that they've used .NET and haven't liked it. This is the first post that comes close. Have you used .NET? Don't take this as a challenge or attack on your opinion - I'm just wondering about the number of people in this category.

  11. #11
    Hyperactive Member kleptos's Avatar
    Join Date
    Aug 2001
    Location
    The Dark Carnival
    Posts
    346
    I use C# at work and at home, i love it....
    ..::[kleptos]::..
    • Database Administrator (MSSQL 2000)
    • Application Developer (C#)
    • Web Developer (ASP.NET)


  12. #12
    Fanatic Member Patoooey's Avatar
    Join Date
    Aug 2001
    Location
    New Jersey, USA
    Posts
    774
    Screw C# or VB. I'm switching to COBOL.Net. It's da bomb !!

    Code:
    ENVIRONMENT DIVISION.
    CONFIGURATION SECTION.
    REPOSITORY.
    PROPERTY SELECT-VALUE AS "Value"
    PROPERTY IMAGE-SRC AS "Src"                    
    PROPERTY SPAN-VALUE AS "InnerHtml"
    CLASS STRING-BUILDER AS "System.Text.StringBuilder"
    CLASS SYS-STRING AS "System.String"
    CLASS SYS-OBJECT AS "System.Object"
    CLASS EVENTARGS AS "System.EventArgs".
    OBJECT.
    METHOD-ID. FRUITLIST-CLICK.
    DATA DIVISION.
    WORKING-STORAGE SECTION.
    77 IMAGE-FILE-BUILDER OBJECT REFERENCE STRING-BUILDER.
    77 IMAGE-FILE-STR OBJECT REFERENCE SYS-STRING.
    LINKAGE SECTION.
    77 EVENT-SOURCE OBJECT REFERENCE SYS-OBJECT.
    77 EVENT OBJECT REFERENCE EVENTARGS.
    PROCEDURE DIVISION USING BY VALUE EVENT-SOURCE EVENT. 
       MOVE SELECT-VALUE OF FRUITLIST TO SPAN-VALUE OF FRUITNAME.
       INVOKE STRING-BUILDER "NEW" USING BY VALUE "images/"
       RETURNING IMAGE-FILE-BUILDER.
       INVOKE IMAGE-FILE-BUILDER "Append"
              USING BY VALUE SELECT-VALUE OF FRUITLIST
                    RETURNING IMAGE-FILE-BUILDER.
       INVOKE IMAGE-FILE-BUILDER "Append" USING BY VALUE ".jpg"
                    RETURNING IMAGE-FILE-BUILDER.
       INVOKE IMAGE-FILE-BUILDER "ToString"
                    RETURNING IMAGE-FILE-STR.
       MOVE IMAGE-FILE-STR TO IMAGE-SRC OF FRUITIMAGE.
       END METHOD FRUITLIST-CLICK.
       END OBJECT. 
    </script> 
    </head>
    <body>
    <form runat="server"> 
    <font face="Verdana">
    <b>Please Select A Fruit : </b>
    <select id="FRUITLIST" runat="server" size="1"> 
    <option value="Orange">Orange</option>
    <option value="Apple">Apple</option>
    <option value="Mango">Mango</option>
    <option value="Pear">Pear</option>
    <option value="Banana">Banana</option>
    </select>
    <input type="submit" value="submit" runat="server"
    OnServerClick="FRUITLIST-CLICK">
    <p><table><tr><td><img id="FRUITIMAGE" src="images\blank.gif"
    runat="server" /></td>
                  <td><font face="Verdana" size=6><span id="FRUITNAME"
    runat="server"/></font></td></tr>
       </table></font>
    </form></body></html>



    John

  13. #13
    PowerPoster sunburnt's Avatar
    Join Date
    Feb 2001
    Location
    Boulder, Colorado
    Posts
    1,403
    Haha, I knew there was a language out there more verbose than Visual Basic, I just couldn't remember what it was. Thanks.
    Every passing hour brings the Solar System forty-three thousand miles closer to Globular Cluster M13 in Hercules -- and still there are some misfits who insist that there is no such thing as progress.

  14. #14
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    COBOL is for people with a broken Caps Lock key...go buy a new keyboard.

    LOL
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  15. #15
    joan_fl
    Guest
    COBOL is for people with a broken Caps Lock key...go buy a new keyboard.
    I believe there is a Cobal.Net


    http://madison.freedotnet.com/module...name=Downloads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width