Value Type Variable

Description :

  • Value type variables can be assigned a value directly. 
  • They are derived from the class System.ValueType.
  • The value types directly contain data. 
  • which stores numbers, alphabets, and floating point numbers, respectively. 
  • When you declare an int type, the system allocates memory to store the value.

Example:

Some examples are int, char, and float etc.















Comments

Popular posts from this blog

Comments in C#

Assembly Manifest

"this" Keyword