Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 88303
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T22:32:20+00:00 2026-05-10T22:32:20+00:00

What in C#.NET makes it more suitable for some projects than VB.NET? Performance?, Capabilities?,

  • 0

What in C#.NET makes it more suitable for some projects than VB.NET?

Performance?, Capabilities?, Libraries/Components?, Reputation?, Reliability? Maintainability?, Ease?


Basically anything C# can do, that is impossible using VB, or vice versa. Things you just have to consider when choosing C#/VB for a project.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T22:32:20+00:00Added an answer on May 10, 2026 at 10:32 pm

    C# and VB are basically the same however there are some minor differences. Aside from the obvious grammar differences you have the following differences:

    1. C# can call unsafe code
    2. VB has optional parameters (Coming in C#4.0)
    3. VB is easier to use when making late bound calls (Coming in C# 4.0) This and number make 2 make using VB to do office automation much cleaner.
    4. VB has a bunch of ‘helper’ functions and class like the My namespace; however, all of this are accessible to C#
    5. VB is case insensitive

    C#’s syntax follow a similar grammar to c and java, which make it a much more comfortable transition from those languages, where as VB can be more comfortable to VB users. As far performance, and libraries or components they are nearly identical.

    As for which one to choose, unless you have a need to do unsafe operations, then choose the language which is most natural to you. After years of being a VB developer I loved not having to write If yadada then…..End If if (yadaya){….} saves my carpal tunnel a few extra keystrokes (Which can then be used on answering SO questions)

    Edit

    Just learned one more difference btw C# and VB is that VB supports filtered exceptions so you could something like this pseudo:

    try {    //do something that fails } catch(Exception ex when ArgumentException,        ArgumentNullException, FormatException) {   //Only handle these three types } 

    This should not be confused with the ability to do:

    try {      //something that fails } catch(ArgumentException) {      //Log Error } catch(ArgumentNullException) {     //Log Error } 

    In this case you are going to handle the exceptions differently in the VB world you could define one piece of code to handle multiple types of Exceptions.

    Edit

    Some more differences.

    1. VB’s Is operator compares two objects to determine if they are the same it compiles to the CEQ IL instruction where as C# compiles to isinst IL. So the following are equivalent statements

    c# if (foo is FooObject){}

    vb If TypeOf foo is FooObject then

    1. Also as mentioned in the comments and I wish I could see them to give you credit but C# doesn’t have a like parameter. You need to use the RegEx class.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 100k
  • Answers 100k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer The Subversion working copy performs quite badly when there's a… May 11, 2026 at 7:58 pm
  • Editorial Team
    Editorial Team added an answer There are great examples on how to retrieve the version… May 11, 2026 at 7:58 pm
  • Editorial Team
    Editorial Team added an answer Try ASP.NET MVC or one of the other MVC web… May 11, 2026 at 7:58 pm

Related Questions

I'm developing a LoB application in Java after a long absence from the platform
I recently had to develop an additional module for an existing service developed by
When Joel Spolsky and Jeff Atwood began the disagreement in their podcast over whether
One of the things mentioned recently maybe in the SO podcast or Joel was

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.