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 trial

C# C# Basics (Retired) Perfect Doubles

when i type the quit in output screen the message show Goodbye

i did't know how this function work please explain me. i write this in the bottom of the code i did't know how they connect with quit function? } Console.WriteLine("GoodBye"); Console.ReadLine();

    }
Suban Purushothmakumar
Suban Purushothmakumar
3,306 Points

Hi, Would you be able to share all the code so we can see where the error is. If you took the c# basics course you would have found that when you asked the user to type a value or enter quit and the user entered quit it will break out of the loop and then go to the line Console.WriteLine("Goodbye");