locked
C# vs VB.NET RRS feed

  • Question

  • This probably seems like a really stupid question to most of you, but... What are the reasons that C# seems to be preferred over VB.NET? For a relative newcomer to C#, VB.NET, and OOP in general, VB.NET seems much easier to learn; can get to a point of developing higher-level apps much more quickly.  And yet C# seems to be more widely-used & in-demand. Why is that?  Thanks!
    Wednesday, March 18, 2015 2:50 PM

Answers

  • This probably seems like a really stupid question to most of you, but... What are the reasons that C# seems to be preferred over VB.NET? For a relative newcomer to C#, VB.NET, and OOP in general, VB.NET seems much easier to learn; can get to a point of developing higher-level apps much more quickly.  And yet C# seems to be more widely-used & in-demand. Why is that?  Thanks!

    VB.NET is proprietary to MS,  and C# is an ISO and ECMA standard that is controlled by those orgainizations. It makes C# a more desirable lanuage to use over VB.NET in creating .NET solutions, becuase of C#'s standardization.  Also but unfortunate, there is more teaching, tutorials and examples about various .NET technologies and using OO concepts in C# as VB.NET lags behind in this.

    http://en.wikipedia.org/wiki/C_Sharp_(programming_language)

    However, C# and VB.NET are not the only .NET lanuages. the .NET CLI is an ISO and ECMA standard and other lanuages have v=been developed to use .NET CLI

    http://en.wikipedia.org/wiki/Common_Language_Infrastructure

    http://en.wikipedia.org/wiki/List_of_CLI_languages

    I have nothing agaist VB.NET, and I have put $$$$$ in my pockets with VB.NET to, but not like I have done with C#. :)

    • Proposed as answer by Magnus (MM8)MVP Wednesday, March 18, 2015 4:08 PM
    • Marked as answer by Caillen Wednesday, March 25, 2015 8:58 AM
    Wednesday, March 18, 2015 3:28 PM
  • C# initially was the language of choice for .NET because it was a new language and it most closely matched the CLR capabilities.  But for a while now the languages basically support the same features with few exceptions.  Use whichever language you feel most comfortable with.

    Michael Taylor
    http://blogs.msmvps.com/p3net

    • Proposed as answer by Magnus (MM8)MVP Wednesday, March 18, 2015 4:08 PM
    • Marked as answer by Caillen Wednesday, March 25, 2015 8:58 AM
    Wednesday, March 18, 2015 3:18 PM

All replies

  • C# initially was the language of choice for .NET because it was a new language and it most closely matched the CLR capabilities.  But for a while now the languages basically support the same features with few exceptions.  Use whichever language you feel most comfortable with.

    Michael Taylor
    http://blogs.msmvps.com/p3net

    • Proposed as answer by Magnus (MM8)MVP Wednesday, March 18, 2015 4:08 PM
    • Marked as answer by Caillen Wednesday, March 25, 2015 8:58 AM
    Wednesday, March 18, 2015 3:18 PM
  • This probably seems like a really stupid question to most of you, but... What are the reasons that C# seems to be preferred over VB.NET? For a relative newcomer to C#, VB.NET, and OOP in general, VB.NET seems much easier to learn; can get to a point of developing higher-level apps much more quickly.  And yet C# seems to be more widely-used & in-demand. Why is that?  Thanks!

    VB.NET is proprietary to MS,  and C# is an ISO and ECMA standard that is controlled by those orgainizations. It makes C# a more desirable lanuage to use over VB.NET in creating .NET solutions, becuase of C#'s standardization.  Also but unfortunate, there is more teaching, tutorials and examples about various .NET technologies and using OO concepts in C# as VB.NET lags behind in this.

    http://en.wikipedia.org/wiki/C_Sharp_(programming_language)

    However, C# and VB.NET are not the only .NET lanuages. the .NET CLI is an ISO and ECMA standard and other lanuages have v=been developed to use .NET CLI

    http://en.wikipedia.org/wiki/Common_Language_Infrastructure

    http://en.wikipedia.org/wiki/List_of_CLI_languages

    I have nothing agaist VB.NET, and I have put $$$$$ in my pockets with VB.NET to, but not like I have done with C#. :)

    • Proposed as answer by Magnus (MM8)MVP Wednesday, March 18, 2015 4:08 PM
    • Marked as answer by Caillen Wednesday, March 25, 2015 8:58 AM
    Wednesday, March 18, 2015 3:28 PM
  • I also think that when people see "C#" it reminds then C or C++ which are also very popular languages :-).
    Wednesday, March 18, 2015 3:44 PM
  • Thanks to all. Very helpful info.
    Wednesday, March 18, 2015 3:57 PM
  • I also think that when people see "C#" it reminds then C or C++ which are also very popular languages :-).

    Not only that, but it's syntactically similar.  It's also syntactically similar to Javascript, which makes it really handy when developing ASP.NET pages since you're programming automation into the webpage (client-side) and automation into IIS (server-side) and all you have to bear in mind is platform differences.

    for (Int32 i = 0; i < 5; i++)
    {
         MessageBox.Show(i);
    }
    for (i = 0; i < 5; i++)
    {
         alert(i);
    }



    Content Removed

    Wednesday, March 18, 2015 5:58 PM
  • I also think that when people see "C#" it reminds then C or C++ which are also very popular languages :-).

    Not only that, but it's syntactically similar.  It's also syntactically similar to Javascript, which makes it really handy when developing ASP.NET pages since you're programming automation into the webpage (client-side) and automation into IIS (server-side) and all you have to bear in mind is platform differences.

    I was rather thinking rather about similar language "name", i mean the first impression :-). 

    Thursday, March 19, 2015 9:02 AM