12/8/2021 12:42:49 AM
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.
You should print the output, add this line:
Okay, thanks that helped I have another question though:
Whats the point of doing all of that when I can just do:
string n = “77”;
Hmm, I'm not exactly sure what you mean, it's not wrong!
Like why do I have to say:
string x = “77”;
n = Console.ToDouble (x)
When I could just say:
string x = “77”
I know but whats the point of writing 4 lines when i could write 2?
It makes no sense
Yes, i just want to know the use of it though
There is nothing
place halp me facebook page
Send us a message