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.
- 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 ๐พ
- 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#)? ๐พ
- Mocking Dependencies (silly dependency! um... not that kind of mocking) ๐พ
- Passing data between two Forms in WinForms ๐พ
- Querying Amazon's product details with the Amazon Product Advertising API ๐พ
- The effect of the Obsolete attribute on a class is ignored when there's an interface involved ๐พ
- Using a TextBox and CollectionViewSource to Filter a ListView in WPF ๐พ
- Using Annotations to Assist ReSharper in Analyzing Your Code ๐พ