James Michael Hare
31 posts.
- C#/.NET Little Wonders: Expression-Bodied Members in C# 6Once again, in this series of posts I look at the parts of the .NET Framework that may seem trivial, but can help improve your code by making it easier to write and maintain. The index of all my pa…
- C#/.NET Little Wonders: Indexer Initializer SyntaxOnce again, in this series of posts I look at the parts of the .NET Framework that may seem trivial, but can help improve your code by making it easier to write and maintain. The index of all my pa…
- C#/.NET Little Wonders: Static Using Statements in C# 6Once again, in this series of posts I look at the parts of the .NET Framework that may seem trivial, but can help improve your code by making it easier to write and maintain. The index of all my pa…
- C#/.NET Little Wonders: String Interpolation in C# 6Once again, in this series of posts I look at the parts of the .NET Framework that may seem trivial, but can help improve your code by making it easier to write and maintain. The index of all my pa…
- C#/.NET Little Wonders: Getting Caller InformationOnce again, in this series of posts I look at the parts of the .NET Framework that may seem trivial, but can help improve your code by making it easier to write and maintain. The index of all my pa…
- C#/.NET Little Wonders: Extension Methods DemystifiedOnce again, in this series of posts I look at the parts of the .NET Framework that may seem trivial, but can help improve your code by making it easier to write and maintain. The index of all my pa…
- C#/.NET Little Wonders: Interlocked Read() and Exchange()Once again, in this series of posts I look at the parts of the .NET Framework that may seem trivial, but can help improve your code by making it easier to write and maintain. The index of all my pa…
- C#/.NET Little Wonders: Interlocked Increment(), Decrement(), and Add()Once again, in this series of posts I look at the parts of the .NET Framework that may seem trivial, but can help improve your code by making it easier to write and maintain. The index of all my pa…
- C#/.NET Little Wonders: The Joy of Anonymous TypesOnce again, in this series of posts I look at the parts of the .NET Framework that may seem trivial, but can help improve your code by making it easier to write and maintain. The index of all my pa…
- C#/.NET Little Wonders: Select() and Where() with IndexesOnce again, in this series of posts I look at the parts of the .NET Framework that may seem trivial, but can help improve your code by making it easier to write and maintain. The index of all my pa…
- C#/.NET Little Wonders: The Enumerable.Repeat() Static MethodOnce again, in this series of posts I look at the parts of the .NET Framework that may seem trivial, but can help improve your code by making it easier to write and maintain. The index of all my pa…
- C++ Little Wonders: The C++11 auto keyword reduxI’ve decided to create a sub-series of my Little Wonders posts to focus on C++. Just like their C# counterparts, these posts will focus on those features of the C++ language that can help improve c…
- C#/.NET Little Wonders: The Generic Action DelegatesOnce again, in this series of posts I look at the parts of the .NET Framework that may seem trivial, but can help improve your code by making it easier to write and maintain. The index of all my pa…
- C#/.NET Fundamentals: Choosing the Right Collection ClassThe .NET Base Class Library (BCL) has a wide array of collection classes at your disposal which make it easy to manage collections of objects. While it's great to have so many classes available, it…
- C#/.NET Little Wonders: The Any() and All() Extension MethodsOnce again, in this series of posts I look at the parts of the .NET Framework that may seem trivial, but can really help improve your code by making it easier to write and maintain.
- C#/.NET Little Wonders: The ToLookup() LINQ Extension MethodOnce again, in this series of posts I look at the parts of the .NET Framework that may seem trivial, but can really help improve your code by making it easier to write and maintain.
- C#/.NET Toolbox: A Debugable, Self-Installable Windows Service Template (Redux)I had written a pair of posts before about creating a debug-able and self-installing windows service template in C#. This is a template I began creating to ease creating windows services and to tak…
- C#/.NET Little Wonders: The ConcurrentDictionaryOnce again we consider some of the lesser known classes and keywords of C#. In this series of posts, we will discuss how the concurrent collections have been developed to help alleviate these multi…
- C#/.NET Little Wonders: The ConcurrentStack and ConcurrentQueueOnce again we consider some of the lesser known classes and keywords of C#. In the next few weeks, we will discuss the concurrent collections and how they have changed the face of concurrent progra…
- C#/.NET Little Wonders & Little Pitfalls: The Complete CollectionI wanted to repost the index of all the Little Wonders and Little Pitfalls posts and presentations so that they would be readily visible for anyone new to these series.
- C#/.NET Little Wonders: ToDictionary() and ToList()The Little Wonders series received so much positive response I decided to make it a recurring theme in my blog as new ones popped in my head.
- C# Toolbox: A Debuggable, Self-Installing Windows Service Template (2 of 2)Update: I have now placed the zip containing the source for the end result of part 1 and 2 of this service template here.
- C# Toolbox: A Debuggable, Self-Installing Windows Service Template (1 of 2)Update: I have now placed the zip containing the source for the end result of part 1 and 2 of this service template here.
- C#/.NET Five Final Little Wonders That Make Code Better (3 of 3)This week is my final entry in my Little Wonders series (posts one and two are here and here). These are those little tips and tricks in .NET (and in particular C#) that may not seem like much, but…
- C#/.NET Five More Little Wonders That Make Code Better (2 of 3)So last week I began my series with a post (here)) on those little wonders in .NET/C# -- those small tips and tricks that make code either more concise, maintainable, or performant.
- C#/.NET Five Little Wonders That Make Code Better (1 of 3)We all have those little wonders in our .NET code, those small tips and tricks that make code just that much more concise, maintainable, or performant. Many of you probably already know of some of …
- C# Fundamentals: Combining Enum Values with Bit-FlagsTwo posts ago, I talked about the C# enum and some of its pitfalls (here)). This post continues with a discussion of the fundamentals of enums by continuing with using enums and bit-flags.
- C# Fundamentals - What is the Difference Between Const and Readonly?Once again we delve into the world of C# Fundamentals. Those hints and gotchas that tend to bite folks newer to the language. Today I take another look about the differences between const and reado…
- C# Fundamentals: Optional Parameters - Pros and PitfallsWhen Microsoft rolled out Visual Studio 2010 with C# 4, I was very excited to learn how I could apply all the new features and enhancements to help make me and my team more productive developers.
- Code Reuse is (Damn) HardBeing a development team lead, the task of interviewing new candidates was part of my job. Like any typical interview, we started with some easy questions to get them warmed up and help calm their …
- C#: Why Decorate When You Can InterceptWe've all heard of the old Decorator Design Pattern (here) or used it at one time or another either directly or indirectly. A decorator is a class that wraps a given abstract class or interface and…
