Skip to content

Instantly share code, notes, and snippets.

int? maybe = 12;
if (maybe is int number)
{
Console.WriteLine($"The nullable int 'maybe' has the value {number}");
}
else
{
Console.WriteLine("The nullable int 'maybe' doesn't hold a value");
}
using System.Linq;
var foo = new Bar();

Keybase proof

I hereby claim:

  • I am rorywoods on github.
  • I am rorywoods (https://keybase.io/rorywoods) on keybase.
  • I have a public key whose fingerprint is BD22 6C13 69DB 09AD 0E82 3617 25DC 1850 8B61 352E

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am rorywoods on github.
  • I am rorywoods (https://keybase.io/rorywoods) on keybase.
  • I have a public key whose fingerprint is 903B 7287 1F58 4236 4F39 5A0C 99E4 3726 F77B C31F

To claim this, I am signing this object:

@rorywoods
rorywoods / bsgist.txt
Last active December 31, 2015 20:39
Boxstarter script
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
Enable-RemoteDesktop
cinst tortoisesvn
cinst git.install
cinst GoogleChrome
cinst Firefox
cinst notepadplusplus.install
cinst filezilla
cinst skype