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#

Are we not supposed to use multiple program.cs files in the same Workspace for the same topic (Methods)?

Hello, I copied the examples in the instruction video for "Method Arguments". There are two examples, and I typed out each example on different program files on the Workspace, program.cs and program2.cs . My workspace snapshot is here

Running the second example connected to using the Wait method leads to an error that cites the same namespaces used in the other program file. Are we supposed erase the first example when typing out the second example code and into the program.cs file rather than creating a new file in the workspace?

Thanks!