Variables
- This is the place in memory where we can store some type of information.
- These are concerned with the storage of data.
- Every variable has name & type
- Syntax:
- Example:
string Name;
Note:
- Variable name cannot be declared same as c# keywords
- If
we want to use that then we need to add prefix it with @ character as
int @new = 100;
0 comments: