Uppercase First Method in C#

C# method to uppercase the first letter of a passed in string.

I know that this method is out on the interwebs somewhere so if anyone knows, please share with me so I can give credit where credit is due.

I am starting to share all of my little helper methods online so I never forget 🙂

private static string UppercaseFirst(string s)
	// Check for empty string.
	if (string.IsNullOrEmpty(s))
		return string.Empty;
	// Return char and concat substring.
	return char.ToUpper(s[0]) + s.Substring(1);

What software do I have loaded on my Mac?

I like to have a list of what I load on my all my new macs. I don’t get new macs very often but I do have several of them and it’s nice to know/remember what I load on them. This list is living and will be pruned accordingly.

    • Chrome, Firefox, Opera, Brave
    • Evernote
    • GitKraken, Github Desktop, SourceTree
    • Webstorm, Brackets, Visual Studio Code, Xamarin Studio, Visual Studio for Mac, Coda 2
  • FTP
    • Filezilla
    • Microsoft Remote Desktop

not quite finished yet…