I hereby claim:
- I am robgough on github.
- I am robgough (https://keybase.io/robgough) on keybase.
- I have a public key ASAjiy_j8wmQjeIbFClJ5u4rIVLWUGRRz5TWZBZGnwimyQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
If you're happy and you know it | |
push your code | |
#pushpush | |
if you're happy and you know it | |
push your code | |
#pushpush | |
if you're happy and you know it | |
and you really want to show it | |
commit to git | |
and push your bloody code |
public class MyClass | |
{ | |
public void MyMethod(int repeat) | |
{ | |
repeat.Times(i => { | |
Console.WriteLine(String.Format("Repeat {0}", i)); | |
}, 1); | |
} | |
} |
public int AddOnePassByValue(int input) | |
{ | |
return input + 1; | |
} | |
public int AddOnePassByRef(ref int input) | |
{ | |
input + 1; | |
return -1; | |
} |