Hi, does a variable create a memory cell, or is it actually the memory cell, for example:

Dim Answer As DialogResult

This is the explanation I have written for that line of code:

"This line of code uses a Dim (Dimension) statement to declare a variable called ‘Answer’.
This variable creates an object to store the user’s answer to a dialog result."

and this is the explanation that my friend said it was:

"This line of code uses a Dim (Dimension) statement to declare a variable called ‘DialogResult’. This variable is a memory cell to store the user’s answer to the dialog result."

Can anyone tell me which is the right explanation?

Thanks