diff --git a/chap03.md b/chap03.md index 05c4e2c..a9a72db 100644 --- a/chap03.md +++ b/chap03.md @@ -161,6 +161,18 @@ TODO: Not finished for init-only property TODO: Omitted, may come back in future +#### Summary + +Property is like field but with internal logic for getting/setting the backing field + +```csharp +public class RandomClass +{ + public Property1 { get; set; } + public Property2_ReadOnly { get; } +} +``` + ### 3.1.8 Indexers ### 3.1.9 Static Constructors