Microsoft Research is working on PEX a parameterized unit testing suite which can help you make more reliable software.

In this article, we look at the power of the yield keyword in C#. Enumerable, Enumerator, and Yielding a Free State Machine

Binding in F# is similar to using variables in C# but there are some big differences. This article discusses one of the most used keywords in F# for binding (let) and how it is different than setting a C# variable. I also cover the tuple F# data structure.

I've noticed that in data driven UI projects there is often lots of repeated code wherever there is data binding. In this article we'll look at consolidating all the binding code in a helper class to make projects much easier to maintain by reducing the amount of code we have to dig through.

Looking at F# Types (Especially Functions) and the Forward-Pipe Operator.

This is the first in a series of articles discussing the F# programming language. I cover how to get your dev environment set up to develop with this awesome NET Framework language

This article covers different syntax we can use for declaring and executing methods.

In this article we'll look at using a couple different functional approaches to implementing a basic formula through composition including using monads.

This article provides guidance for writing better, more maintainable code.
In a previous article I talked about how to keep code cohesive by applying the Single Responsibility Principle. I wanted to explore part of another principle of software engineering that will help our code be extensible and can handle growth and change.

One of the aspects of code quality we can look at is cohesion. If code is highly cohesive it is also much more testable, reusable, readable and maintainable (all the good things in life). Likewise, if code has a low level of cohesion it is often very hard to understand at a glance and difficult to test and maintain. In this article we'll take a look at a concrete example of code that does not follow the Single Responsibility Principle and as a result has low cohesion and walk through the refactoring it takes to modify the code to be more highly cohesive.

This article demonstrates a technique through which we can have a type-safe pool object that holds references to many different types of objects.

This article demonstrates an implementation of the Passive View Pattern (based on the Model View Control Pattern) for windows user controls.

This article covers how to use functions as the basis for generating lists given some initial seed values. This technique is useful for constructing different types of numeric series, calculating growth and decay, and also useful for searching algorithms.

I wrote about functional asynchronous programming in an earlier article and now will expand on the topic to look at ways to re-synchronize results from asynchronous function calls.

I ran across Mike Gold’s nice algorithm for finding primes using LINQ syntax and thought I’d use his idea as a base from which to demonstrate one of the more subtle features in functional programming: lazy calculation.

With the functional programming style and extension methods it is extremely easy to execute methods asynchronously. This article cover some simple extension methods that will allow you to easily execute your methods asynchronously with threads from the thread pool.
This article tells you how to run visual studio command prompt from inside the visual studio.

With the release of the 3.5 framework, we have a completely different coding style available (functional programming). We could actually do functional programming in the 2.0 framework, but the resulting code was ugly and hard to understand at a glance and thus hard to maintain. Now, with lambda method syntax and extension methods, we can produce very human-readable code written in a functional style.

Currying is a way to re-write a function with multiple arguments in such a way as it can be called as a chain of functions each with a single argument. This article covers using a few simple utility methods you can use to curry your methods.

Many problems we run into as developers deal with slicing and dicing groups of objects. In this article I'll cover building a library of utility methods using C# object enumerators to perform group permutations and find Cartesian products of groups.

I was working on a win forms project that queries Active Directory information for user and group information and thought the approach may be of interest to some c-sharpcorner readers as a simple example of a asynchronous multi-threaded win forms application.
In this article we'll take another look at how we can use the state pattern to build a plug-in architecture that will allow us to change the behavior of our application by placing differnt plug-ins into a folder.
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegisterMembers onlyWrite an article and earn +1,000 SHARP when it is approved.
Write an article