Variable(Local vs Global in vb.net) is a name given to a storage area that a program can use.Each variable in VB.Net has a data type which determines the size and the type of data it can store in the memory.
The difference between local vs global variables in Vb.Net is that a local variable is confined to the sub procedure where it is declared and a global variable has a scope of all the sub procedures if declared in a class level.
We can also declare a variable in a module which can be accessed from all the forms in your project.
If you would like to see more of those videos, let me know in the comments!
Click here to subscribe to my channel:
https://www.youtube.com/channel/UC2uFN4EdTPpErOPDgHmg3Pg?sub_confirmation=1
Click here for Visual Basic.Net Playlist:
https://www.youtube.com/watch?v=0aJvuufmsSE&list=PLDYR9S4D2aEOvivxuBw4cbthHG5NCRmAl
visit my blog for source code of various tutorials:
http://www.websofttuts.com
Follow me on social media:
https://www.facebook.com/Websofttuts
https://twitter.com/sarfarazbhat
https://plus.google.com/+sarfarazbhat
https://www.linkedin.com/in/sarfarazbhat/