C# Variables

C# variables

A variable in C# is nothing but a name given for a data value. The data value can be of any data type like string, float, int, etc. The syntax of the C# variable is <data type> <variable-name> = <value>;  (or) <data type> <name of variable1>, <name of variable2>,etc; A C# variable can be declared … Read more