VB or C# ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Philip Webb

    #1

    VB or C# ?

    We intend to use .NET technology and SQL Server to build a
    corporate Intranet.

    Are their any advantages/disadvantages in chosing to use
    VB or C#? Could you recommend which one to use.

    Will chosing one over the other restrict us in any way in
    the future or is one better suited to building Web-based
    data-driven pages?

    Thanks,
    Philip
  • news.microsoft.com

    #2
    Re: VB or C# ?

    Languages are equal under the CLR with common types.

    Same libraries. chose what u want :D


    "Philip Webb" <anonymous@disc ussions.microso ft.com> wrote in message
    news:0b8001c39a 3b$95de2ee0$a40 1280a@phx.gbl.. .[color=blue]
    > We intend to use .NET technology and SQL Server to build a
    > corporate Intranet.
    >
    > Are their any advantages/disadvantages in chosing to use
    > VB or C#? Could you recommend which one to use.
    >
    > Will chosing one over the other restrict us in any way in
    > the future or is one better suited to building Web-based
    > data-driven pages?
    >
    > Thanks,
    > Philip[/color]


    Comment

    • William Ryan

      #3
      Re: VB or C# ?

      Learn them both.... The real challenge is learning the .NET way of doing
      things, the framework. Syntax is trivial compared to this.

      WAYYYY too much time is spent debating this, and in the end, there is very
      little difference provided you use Option Strict in VB.Net. C# does support
      unmanaged code, but unless you have an explicit need for it, that may not be
      a big deal.

      Honestly though, have your developers learn what they are comfortable with,
      and have them learn it well. They will be able to migrate over if they need
      to. It's a lot harder to learn VB.NET from VB6 than to learn C# from
      VB.NET.

      If you need specifics on the differences (and there aren't many contrary to
      what some partisans will tell you) there are many articles on it, Dan
      Appleman wrote an ebook and more than a few articles on the subject. HTH
      HTH,
      Bill

      "Philip Webb" <anonymous@disc ussions.microso ft.com> wrote in message
      news:0b8001c39a 3b$95de2ee0$a40 1280a@phx.gbl.. .[color=blue]
      > We intend to use .NET technology and SQL Server to build a
      > corporate Intranet.
      >
      > Are their any advantages/disadvantages in chosing to use
      > VB or C#? Could you recommend which one to use.
      >
      > Will chosing one over the other restrict us in any way in
      > the future or is one better suited to building Web-based
      > data-driven pages?
      >
      > Thanks,
      > Philip[/color]


      Comment

      • Jon Skeet [C# MVP]

        #4
        Re: VB or C# ?

        William Ryan <dotnetguru@com cast.nospam.net > wrote:[color=blue]
        > WAYYYY too much time is spent debating this, and in the end, there is very
        > little difference provided you use Option Strict in VB.Net. C# does support
        > unmanaged code, but unless you have an explicit need for it, that may not be
        > a big deal.[/color]

        Quick correction here: C# doesn't support un*managed* code, it supports
        un*safe* (but still managed) code.

        For unmanaged code, you'd need to go to MC++.

        --
        Jon Skeet - <skeet@pobox.co m>
        Pobox has been discontinued as a separate service, and all existing customers moved to the Fastmail platform.

        If replying to the group, please do not mail me too

        Comment

        • William Ryan

          #5
          Re: VB or C# ?

          Good catch, It was a typo but defintely something worth pointing out.

          Thanks,

          Bill
          "Jon Skeet [C# MVP]" <skeet@pobox.co m> wrote in message
          news:MPG.1a0364 fdb9c6393598993 1@msnews.micros oft.com...[color=blue]
          > William Ryan <dotnetguru@com cast.nospam.net > wrote:[color=green]
          > > WAYYYY too much time is spent debating this, and in the end, there is[/color][/color]
          very[color=blue][color=green]
          > > little difference provided you use Option Strict in VB.Net. C# does[/color][/color]
          support[color=blue][color=green]
          > > unmanaged code, but unless you have an explicit need for it, that may[/color][/color]
          not be[color=blue][color=green]
          > > a big deal.[/color]
          >
          > Quick correction here: C# doesn't support un*managed* code, it supports
          > un*safe* (but still managed) code.
          >
          > For unmanaged code, you'd need to go to MC++.
          >
          > --
          > Jon Skeet - <skeet@pobox.co m>
          > http://www.pobox.com/~skeet
          > If replying to the group, please do not mail me too[/color]


          Comment

          • Robert Jacobson

            #6
            Re: VB or C# ?

            Whitepaper "Difference s Between Visual Basic .NET and Visual C# .NET"
            Microsoft Support is here to help you with Microsoft products. Find how-to articles, videos, and training for Microsoft Copilot, Microsoft 365, Windows 11, Surface, and more.


            Dan Appleman, VB.Net or C#: Which to Choose?
            Desaware Inc. specializes in components and tools for Microsoft Visual Basic, Visual Basic .NET and C# Developers.




            "Philip Webb" <anonymous@disc ussions.microso ft.com> wrote in message
            news:0b8001c39a 3b$95de2ee0$a40 1280a@phx.gbl.. .[color=blue]
            > We intend to use .NET technology and SQL Server to build a
            > corporate Intranet.
            >
            > Are their any advantages/disadvantages in chosing to use
            > VB or C#? Could you recommend which one to use.
            >
            > Will chosing one over the other restrict us in any way in
            > the future or is one better suited to building Web-based
            > data-driven pages?
            >
            > Thanks,
            > Philip[/color]


            Comment

            Working...