Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added snippets for conditional logical operators #442

Merged
merged 1 commit into from Nov 6, 2018
Merged

Added snippets for conditional logical operators #442

merged 1 commit into from Nov 6, 2018

Conversation

pkulikov
Copy link
Contributor

@pkulikov pkulikov commented Nov 5, 2018

Supports dotnet/docs#8880

Console.WriteLine(test);
// Output:
// Second operand is evaluated.
// False
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think a new example is a more obvious demonstration of the evaluation of the second operand. I've checked: such a snippet runs fine as an interactive code snippet.

Copy link

@rpetrusha rpetrusha left a comment

Choose a reason for hiding this comment

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

Thanks for moving the examples to the dotnet/samples repo, @pkulikov, and creating replacing the first example with a more intuitive one. I'll merge your PR and rebuild the article in dotnet/docs.

@rpetrusha rpetrusha changed the title Added snippets for conditional logical operators [WIP] Added snippets for conditional logical operators Nov 6, 2018
@rpetrusha rpetrusha changed the title [WIP] Added snippets for conditional logical operators Added snippets for conditional logical operators Nov 6, 2018
@rpetrusha rpetrusha merged commit 11a5469 into dotnet:master Nov 6, 2018
@pkulikov pkulikov deleted the snippets-for-conditional-logical-operators branch November 6, 2018 19:56
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.

None yet

2 participants