Added Summary for 3.1.7 Properties
parent
bc20fc0d21
commit
f3447cd89a
12
chap03.md
12
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user