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# Collections Lists Sorting Lists

cant get the program to compile for some reason even though i copied the files

1 Answer

Steven Parker
Steven Parker
231,198 Points

I didn't have any trouble building and running the project from the snapshot:

treehouse:~/workspace$ mcs Program.cs Student.cs && mono Program.exe
Bob is in grade 3
Sally is in grade 2
Sally is in grade 3

Did you try to build "Program.cs" by itself?

Yes 0.0, i did'nt built Student.cs, Thanks!

Steven Parker
Steven Parker
231,198 Points

bot .net — Glad to help. You can mark a question solved by choosing a "best answer".
And happy coding!