Skip to main content

Coding

Scratch that itch for coding!

Learning a little about programming could benefit anyone. If you want a fun intro to coding and logical thinking, check out Scratch!

How to make a dark mode with CSS

Every time I learn some new piece of CSS I’m amazed at how flexible and powerful it is. Like how easy it is to tailor your site for your visitor’s “dark mode” preference!

What is the opposite of Any in LINQ?

One of the many nice functions in LINQ is a single word that iterates through a collection, returning true if at least one item in the collection matches the condition you specify. But what’s the opposite of the Any keyword in LINQ?

Using Attributes in C#

Ever thought it’d be convenient to attach metadata to your code at design time, then read it at runtime? Attributes let you do just that - to methods, classes, tests, enumerations, and more. Use reflection to read them at runtime and take some action. Here’s a few examples for the uninitiated…