You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/lectures/oop/properties.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -259,6 +259,8 @@ The benefit of this notation is that read-only properties can easily be integrat
259
259
+ «get» Radius : decimal
260
260
```
261
261
262
+
<!--
263
+
262
264
## Properties and Security
263
265
264
266
*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"`!*
292
294
293
295
The correct fix is to **first test, then set**, so that an incorrect value would **never be assigned**.
294
296
In the previous example, simply moving `sensibleData = value;` to the end of the `set` would fix this issue.
Copy file name to clipboardExpand all lines: source/projects/submission.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,9 @@
2
2
title: How to Submit Projects
3
3
---
4
4
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
+
5
8
# Submission
6
9
7
10
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