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

  • SEARCH
  • Home
  • 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 8367451
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:09:42+00:00 2026-06-09T13:09:42+00:00

In school, I worked primarily with Java, C, and Python. Now that I’m working,

  • 0

In school, I worked primarily with Java, C, and Python. Now that I’m working, I am working with .Net all of the time. Occasionally I have to work on Visual Basic projects which has been an enjoyable learning experience but I seem to get hung up on a few things from time to time. One of my main problems comes from the fact that Visual Basic uses Nothing instead of null as in C# and F#.

Nothing and null, to me, seem to be basically the same with the exception that a non-nullable value type can be set to Nothing in Visual Basic and the value will be set to its default value (i.e. 0 for an Integer). In C#, if a non-nullable value type is set to null there will be a compile-time error. Having the default value of data types be but making created types Nullable and setting values to DBNull.Value for working with databases throws me off. It’s not intuitive switching to Nothing from null. I looked at the IL code of setting a string to null/Nothing in both C# and VB and each time it set the string to ldnull. So is there any underlying reason as to why Visual Basic uses Nothing instead of null as other .Net languages do?

tl;dr Why does Visual Basic use Nothing instead of null?

  • 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. Editorial Team
    Editorial Team
    2026-06-09T13:09:43+00:00Added an answer on June 9, 2026 at 1:09 pm

    Remember that VB is based on the original Basic, which is intende to be truly BASIC, easily understood by someone who is not a programmer.

    If you try to explain to a non-programmer that what a value is, which makes more sense.

    “The value of X is Nothing”

    or

    “The value of X is null” –> Leads to “Huh”? What the heck is NULL??

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In a school project, I have implemented a working syncadapter for syncing contacts with
Having not worked with cartesian graphs since high school, I have actually found a
I have been working on an app for my school recently and wanted to
For school, i have to develop a Twitter client with ASP.NET. In the app,
Hey all. I am working on a project for school where we are given
At school we have been programming in MIPS assembly language for some time. I'm
I have a Python script that downloads a GRIB file (weather forecast data) from
In school I am part of a team of four working to create a
I have a school project in which I have to implement a chat application,
When in school it was often a requirement to flowchart the little programs that

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.