Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialHassan Abdul Hameed
825 PointsI cant write int with a dot followed after "int" when i try to enter int.Parse("xx")
Whenever I write the dot (.) after "int" in the console it immediately gives me an error and won't allow me to complete the line. It says "Unhandled exceptions" followed by "System.ArgumentException: Cannot be less than one" in the next line, which is then followed by 33 lines of text saying something like "Mono.Terminal.LineEditor.UpdateCompletionWindow......"
3 Answers
Steven Parker
231,275 PointsJust to be sure, you're typing this in at the "csharp>
" prompt, right? I don't seem to be able to replicate the symptom.
When I type the peroid, I get a little helper box with a list of possible things to put next, starting with "CompareTo". It doesn't exit, even if I type the complete line and get the (expected) error.
This might be an issue to take up with the Support staff.
Hassan Abdul Hameed
825 PointsI've attached a link to a picture showing what happens when I write "int."
I've also highlighted the line where i write "int." (in the picture)
Ill also try to contact support, thank you for the advice. I actually thought this was support :p
Steven Parker
231,275 PointsWell, this is the place to come for support from other students. But for anything official it's good to contact the staff directly.
Hassan Abdul Hameed
825 PointsWell, this is embarrassing. It works now so i think i just needed to restart the workspace. Thanks for the help anyway :)
Hassan Abdul Hameed
825 PointsHassan Abdul Hameed
825 PointsTo follow up it also exits me out of the repl and back to the regular console