mirror of
https://github.com/m-lamonaca/dev-notes.git
synced 2025-04-08 11:56:41 +00:00
Remove no longer useful todo annotations
This commit is contained in:
parent
090fb95a0e
commit
1956ebbf0d
1 changed files with 0 additions and 16 deletions
|
@ -1209,16 +1209,6 @@ type OutMethod(type param1, out type param2){}
|
||||||
OutMethod(arg1, out var arg2); // create out variable on the fly
|
OutMethod(arg1, out var arg2); // create out variable on the fly
|
||||||
```
|
```
|
||||||
|
|
||||||
<!-- TODO: ### References to variables
|
|
||||||
|
|
||||||
**Constraints**:
|
|
||||||
|
|
||||||
```cs
|
|
||||||
string _string = null; // init string object
|
|
||||||
ref string referenceToString = ref _string; // referenceToString points to _string, it's a reference
|
|
||||||
referenceToString = "value"; // data goes through referenceToString and into _string
|
|
||||||
``` -->
|
|
||||||
|
|
||||||
### Returning Multiple Values with Tuples
|
### Returning Multiple Values with Tuples
|
||||||
|
|
||||||
**Must** be C# 7+.
|
**Must** be C# 7+.
|
||||||
|
@ -2159,12 +2149,6 @@ Delegate<Type> lambda = (Type input) => { return <expr>; };
|
||||||
Type variable = delegate { <expression>; }; // ignore arguments of the method passed to the delegate
|
Type variable = delegate { <expression>; }; // ignore arguments of the method passed to the delegate
|
||||||
```
|
```
|
||||||
|
|
||||||
### Captured Variables
|
|
||||||
|
|
||||||
<!-- TODO: page 396 of Ian Griffiths - Programming C%23 8.0_Build Cloud, Web, and Desktop Applications -->
|
|
||||||
|
|
||||||
<!-- todo: static anonymous functions -->
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## [Events](https://www.tutorialsteacher.com/csharp/csharp-event)
|
## [Events](https://www.tutorialsteacher.com/csharp/csharp-event)
|
||||||
|
|
Loading…
Add table
Reference in a new issue