Hello, I'm relatively new to C#. I'm working on my computer science major and the only language I can safely say that I know fairly well is python (Though I have done stuff with C++ and Java). I chose C# because I like Windows and it looked like a good hybrid between Java and C++. Anyway, I had just finished a homework in python code, and tried implementing it in C# with my limited knowledge of this language and when I enter a value for the variable number, nothing happens. The console just stops working or something after I've entered the number at runtime. If anyone could help me understand what I did wrong I'd appreciate it very much. My code is in the attached file(formatting was weird in code tags):
Oh yeah, I'm new to the forums so... hi. I'll post an introduction later, this was just on my mind when I registered.
Oh yeah, I'm new to the forums so... hi. I'll post an introduction later, this was just on my mind when I registered.