Skip to content

Commit

Permalink
Format "+" and "*" as code (dotnet#4144)
Browse files Browse the repository at this point in the history
* Format "+" and "*" as code

Format "+" and "*" as code to reconcile formatting across documents.

* Fix formatting around "Fraction" and "double"
  • Loading branch information
Eduard Malakhov authored and Ron Petrusha committed Jan 19, 2018
1 parent 3c95d6b commit 9251f5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/csharp/language-reference/keywords/operator.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ms.author: "wiwagn"
Use the `operator` keyword to overload a built-in operator or to provide a user-defined conversion in a class or struct declaration.

## Example
The following is a very simplified class for fractional numbers. It overloads the + and * operators to perform fractional addition and multiplication, and also provides a conversion operator that converts a Fraction type to a double type.
The following is a very simplified class for fractional numbers. It overloads the `+` and `*` operators to perform fractional addition and multiplication, and also provides a conversion operator that converts a `Fraction` type to a `double` type.

[!code-csharp[csrefKeywordsConversion#6](../../../csharp/language-reference/keywords/codesnippet/CSharp/operator_1.cs)]

Expand Down

0 comments on commit 9251f5e

Please sign in to comment.