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

Workspace Console freezes

Whenever I type the following line, my Console always freezes. No key or key combination works and I have to completely close my Workspace. But the same thing happens as soon as I type the same thing in the new Workspace. (In csharp mode): birds.GroupBy(b => b.Color).Select(g => new { Color = g.

and it freezes. Is there some shortcut set up for 'g.'?

For me CTRL + C + ENTER' or CTRL + Z + ENTER ` fixes the console when it freezes.

The CTRL + C + ENTER did work for one time. It cleared me to another csharp prompt. But when I hit the up arrow key and started to finish the command it failed here: birds.GroupBy(b => b.Color).Select(g => new { Color = g.Key, Count = g.

Then CTRL + C + ENTER would not work anymore. CTRL + Z + ENTER at least got me out of the csharp mode. But I still cannot finish and execute this command for some reason.

This is still an issue for me, but I emailed Support about it.

2 Answers

I'm having the exact same problem. Any solutions? It's frustrating to not be able to follow the video. Plus, I'm not a fan of doing this in the C# REPL.

I have the same issue. Has anyone found a real solution to this?