This repository contains some of the (usually lengthier) code samples from my blog posts. I also tend to host shorter snippets on Gist and JsFiddle, and embed them into posts.
The following list of blog posts includes a link to the part of the repo with the relevant code for that post.
- A sample C# app for generating and verifying TOTP 2FA codes 💾
- An explanation of implicit and explicit conversion in C# 💾
- An extension method for passing a column name to SqlDataReader.GetFieldValue in C# 💾
- Async and PLINQ 💾
- Cool markdown tricks for GitHub 💾
- Discover where the ISS is, where it will be, and who's on it with the ISS Notify API 💾
- How do I convert my code from C# to VB.NET (or from VB.NET to C#)? 💾
- How to use an application config file with a .NET Standard app and NUnit 3) 💾
- Keep your EUnit teardown logic as simple as possible! 💾
- Keep the plumbing out of my living room 💾
- What is mocking a dependency?) 💾
- Passing data between two Forms in WinForms 💾
- Practical Examples of C# Attributes 💾
- Querying Amazon's product details with the Amazon Product Advertising API 💾
- Running Windows XP in VirtualBox 💾
- The effect of the Obsolete attribute on a class is ignored when there's an interface involved 💾
- A briefly longish tour of Visual Studio for Mac 💾
- Using a TextBox and CollectionViewSource to Filter a ListView in WPF 💾
- Using Annotations to Assist ReSharper in Analyzing Your Code 💾
- What's a word cloud and how do I make one?💾
- When an assert isn't assertive enough (or using the wrong macro in an EUnit test) 💾