0

what's the use of Int x=42

static void Main(string[] args) { int x = 42; int num = 0; while(num < 6) { Console.WriteLine(num); num++; }

8th Jul 2016, 10:14 AM
Ankit
Ankit - avatar
3 Answers
+ 2
Create an integer type variable with i itial value of 42.
8th Jul 2016, 1:49 PM
Albert Gullbee
+ 2
it is useless, you can delete that code
8th Jul 2016, 2:41 PM
kushal pawar
kushal pawar - avatar
0
its declaration..its not necessary in ur code
11th Jul 2016, 6:01 AM
Selva Subha Sree