Skip to content

Added snippets for conditional logical operators - #442

Merged
rpetrusha merged 1 commit into
dotnet:masterfrom
pkulikov:snippets-for-conditional-logical-operators
Nov 6, 2018
Merged

rpetrusha merged 1 commit into
dotnet:masterfrom
pkulikov:snippets-for-conditional-logical-operators

Conversation

@pkulikov

@pkulikov pkulikov commented Nov 5, 2018 •

Copy link
Copy Markdown
Contributor

Supports dotnet/docs#8880

Console.WriteLine(test);
// Output:
// Second operand is evaluated.
// False

Copy link
Copy Markdown
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.

@rpetrusha rpetrusha left a comment

Copy link
Copy Markdown

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.

2 participants