Dim keyword is used in VB.net. This keyword is used when value need to be stored in variable is not defined. Likewise in C# we will var to store values of variable type.