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) ๐พ