0
c# What is wrong here???
13 Réponses
+ 4
You are passing a lesson on converting a string variable to a finishing variable and you were given an example. Let's say you need to do some kind of mathematical calculation with the "x" variable.
+ 2
Output:
Console.WriteLine(n);
0
You should print the output, add this line:
Console.WritleLine(n);
0
Okay, thanks that helped I have another question though:
0
Whats the point of doing all of that when I can just do:
string n = “77”;
Console.WriteLine (n);
0
Hmm, I'm not exactly sure what you mean, it's not wrong!
0
Like why do I have to say:
double n;
string x = “77”;
n = Console.ToDouble (x)
Console.WriteLine (n);
When I could just say:
string x = “77”
Console.WriteLine (x);
0
I know but whats the point of writing 4 lines when i could write 2?
0
It makes no sense
0
There is nothing
- 1
Yes, i just want to know the use of it though
- 1
hii
- 2
place halp me facebook page