c sharp and vb

Talal Saud ALSUHAIMY 0 Reputation points
2024-02-02T00:17:57.88+00:00

Hello . I have some inquiries. So C# and Visual Basic use the same libraries and the .NET framework. Where is the fundamental difference? Why is C Sharp's salary higher if they all have the same features? I need to understand the difference because in the end they all share all the characteristics!

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,625 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,662 questions
{count} votes

4 answers

Sort by: Most helpful
  1. Karen Payne MVP 35,386 Reputation points
    2024-02-02T03:13:08.3833333+00:00

    They do not have the same features. Also, try finding assistance for VB.NET vs C# today, there is more out there for C#. Although Microsoft has a commitment to VB.NET its a second class citizen to C#. Check out what's new in .NET8, zero mention of VB.NET. If you are just diving into a career in programming picking VB.NET is going to get you anyplace while the opposite is true for C#. The average VB.NET developer comes from VB6, for the most part that was the only pathway to move forward with modern programming other than C# and these programmers are die hard when it comes to VB. I saw the writing on the wall a long time ago when coding with VB.NET (never touched VB6) and transitioned to C# and never looked back.


  2. RLWA32 43,046 Reputation points
    2024-02-02T08:15:07.41+00:00

    IMHO the real difference isn't so much in the class libraries that can be used by C# and VB but in the languages themselves. As a language, Microsoft is actively developing C# but is not doing the same for VB. As I see it the VB language is in maintenance mode while C# continues to be enhanced. I suggest you read Microsoft's Update to the .NET language strategy and focus on the difference between the directions discussed for C# versus VB. I think that will clarify the greater effort that Microsoft plans to devote to C# and the effect that has on the marketplace.

    0 comments No comments

  3. Bruce (SqlWork.com) 61,181 Reputation points
    2024-02-16T17:00:20.6566667+00:00

    The salary difference is mostly due to the type of applications built.

    Visual Basic is typically used for webform applications (which is absolute technology), office macros, or business desktop applications.

    More advanced applications are typically written in C#. This is because many of the design patterns are based on java coding, and these migrates to C# easier than Visual Basic. Often programs are migrated from C++ or java and again C# is a more natural option.

    also a programmer with a more formal computer science background would typically pick C# over vb as the syntax is more natural.