Skip to content

Commit 5bf92a6

Browse files
authored
Fix grammar in encapsulation sentence ("Member" to "Members") (#46007)
1 parent b29d8fe commit 5bf92a6

File tree

1 file changed

+1
-1
lines changed
  • docs/csharp/fundamentals/object-oriented

1 file changed

+1
-1
lines changed

docs/csharp/fundamentals/object-oriented/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ In C#, the definition of a type—a class, struct, or record—is like a
1818

1919
## Encapsulation
2020

21-
*Encapsulation* is sometimes referred to as the first pillar or principle of object-oriented programming. A class or struct can specify how accessible each of its members is to code outside of the class or struct. Member not intended for consumers outside of the class or assembly are hidden to limit the potential for coding errors or malicious exploits. For more information, see the [Object-oriented programming](../tutorials/oop.md) tutorial.
21+
*Encapsulation* is sometimes referred to as the first pillar or principle of object-oriented programming. A class or struct can specify how accessible each of its members is to code outside of the class or struct. Members not intended for consumers outside of the class or assembly are hidden to limit the potential for coding errors or malicious exploits. For more information, see the [Object-oriented programming](../tutorials/oop.md) tutorial.
2222

2323
## Members
2424

0 commit comments

Comments
 (0)