What is variable in c#?

0 votes
Pradeep kumar Patel asked 23-Oct-2019 in Programming Language by Pradeep kumar Patel
edited 23-Oct-2019 by Pradeep kumar-Patel

what is variable in c#?

1 Answer

0 votes
Pradeep kumar Patel answered 23-Oct-2019 by Pradeep kumar Patel
A variable is a name given to a memory. It is used to store data. Its value can be changed and it can be reused many times. It is a way to represent memory location through symbol so that it can be easily identified.
 Type of variable
Boolean type: it is store True or false type value
Integer type: it is store int, byte, and short, long type value
Float type: it is store float and double type value
Nullable type: it is store Nullable type value
Decimal type: it is store decimal type value
double f; 

decinal d;
int i, j;
bool b;