Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. VB vs. C#

VB vs. C#

Scheduled Pinned Locked Moved Visual Basic
csharpquestionvisual-studiocom
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    medicenpringles
    wrote on last edited by
    #1

    just wondering: is there anything that VB.NET can do that C# cannot? i noticed some of the Enterprise Library was written in C#, which is why i can't use it. which angers me, but i guess i'll just have to spend the $600 to... anyway, back to the question. is there anything one can do with VB that one can't do with C# or vice versa?

    D M 2 Replies Last reply
    0
    • M medicenpringles

      just wondering: is there anything that VB.NET can do that C# cannot? i noticed some of the Enterprise Library was written in C#, which is why i can't use it. which angers me, but i guess i'll just have to spend the $600 to... anyway, back to the question. is there anything one can do with VB that one can't do with C# or vice versa?

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Nope. They both target the exact same platform. There are coding issues that apply to one but not the other, but in the end, it's just a matter of preference. For example, C# doesn't support optional parameters in method calls, where as VB.NET does. On the other hand, VB.NET doesn't support pointers and "unsafe" code, where as C# does. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      1 Reply Last reply
      0
      • M medicenpringles

        just wondering: is there anything that VB.NET can do that C# cannot? i noticed some of the Enterprise Library was written in C#, which is why i can't use it. which angers me, but i guess i'll just have to spend the $600 to... anyway, back to the question. is there anything one can do with VB that one can't do with C# or vice versa?

        M Offline
        M Offline
        Mike Hodnick
        wrote on last edited by
        #3

        VB.Net and C# are arguably becomming more and more different over time (Will the idea of a '.Net developer' soon die?[^]. In my opinion, each language has their own unique features that allow you to solve problems in different ways programmatically. One language might have a particular feature that will allow you to solve a problem in a more elegant way, or in a way that requires less time. However, I'd argue that for many projects the differences are insignificant. In terms of meeting a user's requirements or coding out an object model from a class diagram, there's nothing VB.Net does that C# can't, and vice-versa. In this case, the decision might have more to do with developer skills and which language the developer(s) is(are) more comfortable with. Michael Hodnick www.kindohm.com

        D R 2 Replies Last reply
        0
        • M Mike Hodnick

          VB.Net and C# are arguably becomming more and more different over time (Will the idea of a '.Net developer' soon die?[^]. In my opinion, each language has their own unique features that allow you to solve problems in different ways programmatically. One language might have a particular feature that will allow you to solve a problem in a more elegant way, or in a way that requires less time. However, I'd argue that for many projects the differences are insignificant. In terms of meeting a user's requirements or coding out an object model from a class diagram, there's nothing VB.Net does that C# can't, and vice-versa. In this case, the decision might have more to do with developer skills and which language the developer(s) is(are) more comfortable with. Michael Hodnick www.kindohm.com

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          Mike Hodnick wrote: there's nothing VB.Net does that C# can't, and vice-versa. Whoa! Don't let Christian see you posting this! :laugh: RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

          1 Reply Last reply
          0
          • M Mike Hodnick

            VB.Net and C# are arguably becomming more and more different over time (Will the idea of a '.Net developer' soon die?[^]. In my opinion, each language has their own unique features that allow you to solve problems in different ways programmatically. One language might have a particular feature that will allow you to solve a problem in a more elegant way, or in a way that requires less time. However, I'd argue that for many projects the differences are insignificant. In terms of meeting a user's requirements or coding out an object model from a class diagram, there's nothing VB.Net does that C# can't, and vice-versa. In this case, the decision might have more to do with developer skills and which language the developer(s) is(are) more comfortable with. Michael Hodnick www.kindohm.com

            R Offline
            R Offline
            rwestgraham
            wrote on last edited by
            #5

            Mike Hodnick wrote: VB.Net and C# are arguably becomming more and more different over time That would not surprise me. Redmond has probably heard a lot of whining from C# developers to the effect of: "When we used C++ we never had to bother with developing a good user interface, since that was basically impossible, and so we had that extra time to bash VB developers instead. Now not only are we expected to create decent GUI's, but we really can't whine about VB anymore. Why can't you make C# 'better' so we can get back to the good 'ol days?" And they are probably concerned that Sun is telling all the Java developers "C# may look like Java, but it's really just VB." :->

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups