Skip to content

Commit 674fd72

Browse files
Update struct.md (#31980)
1 parent 5526218 commit 674fd72

File tree

1 file changed

+1
-1
lines changed
  • docs/csharp/language-reference/builtin-types

1 file changed

+1
-1
lines changed

docs/csharp/language-reference/builtin-types/struct.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Structure types have *value semantics*. That is, a variable of a structure type
2222

2323
Typically, you use structure types to design small data-centric types that provide little or no behavior. For example, .NET uses structure types to represent a number (both [integer](integral-numeric-types.md) and [real](floating-point-numeric-types.md)), a [Boolean value](bool.md), a [Unicode character](char.md), a [time instance](xref:System.DateTime). If you're focused on the behavior of a type, consider defining a [class](../keywords/class.md). Class types have *reference semantics*. That is, a variable of a class type contains a reference to an instance of the type, not the instance itself.
2424

25-
Because structure types have value semantics, we recommend you to define *immutable* structure types.
25+
Because structure types have value semantics, we recommend you define *immutable* structure types.
2626

2727
## `readonly` struct
2828

0 commit comments

Comments
 (0)