Difference between C# and VB

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pentahari
    New Member
    • Dec 2007
    • 60

    Difference between C# and VB

    Dear friends,

    I am new for .Net programming. i want to know that what is the main difference between ASP.Net with VB and ASP.Net with C#.

    Advance Thanks.
  • Curtis Rutland
    Recognized Expert Specialist
    • Apr 2008
    • 3264

    #2
    There is no real difference except syntax. The .NET Framework provides all the objects you use, so a TextBox behaves the same way and has the same methods and members in C# as it does in VB.NET. It's simply the syntax used to manipulate them.

    If you have a background in C-like languages (especially Java) you'll find C# easier to adapt to. If you have a VB background like VB6 or 5, you'll find VB.NET easier. If you have no Object-Oriented experience, you'll have a bit of trouble with them both until you understand the concepts behind objects. I've heard that VB.NET is easier for beginners because the language is simpler, but I like C# myself. Seems easier to do things in less code, and more flexibility. But that's just my experience.

    Comment

    • UEH1
      New Member
      • Jun 2008
      • 5

      #3
      One thing I know 100%: if you used C++, you should choose C# :)

      Comment

      • nmsreddi
        Contributor
        • Jul 2006
        • 366

        #4
        Hello

        i dont think so ,there is relation between C++ and C# ,but syntax wise C#

        resembles c and java programming.but when comming to oops concepts its same every where irespective of language either c++ or C#.

        Comment

        • Plater
          Recognized Expert Expert
          • Apr 2007
          • 7872

          #5
          Originally posted by pentahari
          Dear friends,

          I am new for .Net programming. i want to know that what is the main difference between ASP.Net with VB and ASP.Net with C#.

          Advance Thanks.
          Syntax .

          Comment

          Working...