Skip to content

Conversation

WilliamAntonRohm
Copy link
Contributor

public static void Main()
{
// <Snippet5>
Console.Write("Number of random numbers to generate: ");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried this, and the current try.net experience for Console.Readline is not great.

@aprilspeight: Will that change with the updates coming this sprint?

@jonsequitur @LadyNaggaga What experience should we expect from the underlying platform?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BillWagner engineering believes that there's a bug (i.e. keeps asking for input). However, this bug is not something that was within the scope of the scaffolding feature to resolve. Scaffolding code with Console.Readline works though.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BillWagner, @aprilspeight -- for now, I removed the Readline-related statements & this sample simply generates 10 numbers.

Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM @WilliamAntonRohm

I'll :shipit: now.

@BillWagner BillWagner merged commit 072a2e1 into dotnet:master Jan 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants