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# Querying With LINQ Query Operators Aggregates

Daniel Hildreth
Daniel Hildreth
16,170 Points

Console not letting me type a GroupBy query into it

When I try following along in the video, the console does not let me type a query in. The cursor just stays there and blinks at me. After I get to the "g" I try typing after it, but it does not let me go pas the "." in { Color = g.). I hit escape, enter, and even the semi-colon, but nothing happens. I finally have to hit CTRL+Z to give me the csharp REPL quit, and then I can go back into csharp REPL by typing "csharp". The code is below. Has anyone else had issues lately with the console and compiler?

Enter statements below.                                                                                                                                         
csharp> LoadAssembly("BirdWatcher.dll");                                                                                                                        
csharp> using BirdWatcher;                                                                                                                                      
csharp> var birds = BirdRepository.LoadBirds();                                                                                                                 
csharp> birds.GroupBy(b => b.Color).Select(g => new { Color = g.                                                                                                
codeboost
codeboost
6,886 Points

I can confirm this; having exactly the same problem here.

Just confirming the same here.

Alec Meyer
Alec Meyer
6,303 Points

This is most definitely an issue. I get stuck at the same place.

2 Answers

Ditto to all above.

Me too. :/