Skip to content

Commit 9d15cd7

Browse files
ClémentClément
authored andcommitted
Merge branch 'main' of github.com:princomp/princomp.github.io
2 parents f0426f7 + 53bf075 commit 9d15cd7

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

source/lectures/oop/properties.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,8 @@ The benefit of this notation is that read-only properties can easily be integrat
259259
+ «get» Radius : decimal
260260
```
261261

262+
<!--
263+
262264
## Properties and Security
263265
264266
*The following discussion is related to the general topic of [`try-catch-finally` scope](../misc/exceptions#scoping-in-try-catch-finally-statements) but can be read independently.*
@@ -292,3 +294,9 @@ Where the last line indicate that the attribute *was set to `"Forbidden word"`!*
292294
293295
The correct fix is to **first test, then set**, so that an incorrect value would **never be assigned**.
294296
In the previous example, simply moving `sensibleData = value;` to the end of the `set` would fix this issue.
297+
298+
299+
300+
```{download="./code/projects/PropertySafety"}
301+
```
302+
-->

source/projects/submission.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
title: How to Submit Projects
33
---
44

5+
This page assumes that you already created a project, following the instructions in the prompt if there are any.
6+
Note that your instructor will make efforts to accommodate all versions of the .NET framework, the important is that your project can compile with *some* version of it.
7+
58
# Submission
69

710
First, make sure your name and the date is placed in a delimited comment at the very beginning of each of your `.cs` file.

0 commit comments

Comments
 (0)