Variables c sharp
A “variable” is created in C # programming to reserve a location in memory space to store values. Variable as the name suggests has dynamic values. A variable has a Name and a Data Type.
Data Type can be string, integer, double, float etc.
A Variable must be declared with its data type and then can be used in the program.
Variable are used to perform logical operations.
An Example of Variable Name is yourName , yourAge
These are examples of Good Descriptive Variable Names. If we simply write mno OR pqr , variable will be declared but this is not a good example of declaring a variable as it is not descriptive at all.