0.4.8 How to Work with Default Values

Before lines of code execute, defined fields and variables have a default value assigned to them. Remember that values are only assigned after the line of code executes (the pointer moves to the next line).

Below are the default values of the types we will be dealing with.


The default value of type int is 0...

The default value of type double is 0...

The default value of type decimal is 0...

The default value of type string is null...

The default value of type bool is false...