How to declare a variable in C#
Pls any tell HOW TO DECLARE A VARIABLE IN C#....
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Vaikesh K PPosted Aug 19, 2015, 6:02 AM
Variable is nothing but a name given to a storage area that our programs can manipulate. Each variable in C# has a specific type, which determines the size and layout of the variable's memory the range of values that can be stored within that memory and the set of operations that can be applied to the variable.
The basic value types provided in C# can be categorized as:
C# also allows defining other value types of variable such as enum and reference types of variables such as class.