Here is another useful one I came across a while ago, don’t remember what site but thanks to whoever wrote it. This Extension Method takes the String and converts it to the Enumeration Type that is sp… more →
Schleichermann's Weblogschleichermann wrote 2 weeks ago: Here is another useful one I came across a while ago, don’t remember what site but thanks to whoever … more →
schleichermann wrote 2 weeks ago: In a recent project I needed the ability to take an incoming string value and calculate its SHA1 Has … more →
schleichermann wrote 2 weeks ago: I notices while working with a 3rd party component that the built-in ArrayList object in .Net does n … more →
xosfaere wrote 1 month ago: Program code follows order. Syntax and semantics. But when run, it can be very unpredictable and uno … more →
prazjain wrote 2 months ago: What are Extension Methods Interfaces have allowed us to attach only declaration of methods with the … more →
xosfaere wrote 2 months ago: I have been increasingly using XLinq for various small tasks and it really is quite productive. Rece … more →
sterndorff wrote 2 months ago: Ever had problems setting focus on a wfp control? I’ve found a small and ugly way to help. Usi … more →
xosfaere wrote 2 months ago: Console applications have one problem that occur in just about every console application: parameter … more →
schleichermann wrote 3 months ago: Unfortunately the built in C# generic list does not have a Clone() method. If you need to clone a li … more →
maxi326 wrote 4 months ago: For Example, You want to add new methods to System.Web.UI.WebControls.CheckBoxList Step One. Declare … more →
mafutrct wrote 4 months ago: Questionable improvement Recently, I had a look at Hidden Features of C# again. One of the top voted … more →
richnewman wrote 5 months ago: Introduction Extension methods were introduced in C# 3.0 as a way of extending a class without neces … more →
Eric Farr wrote 5 months ago: Here is a nice little C# extension method that allows you to copy all of the properties from one obj … more →
schleichermann wrote 7 months ago: Although TrippleDES is no longer considered to be a very secure encryption method you may find there … more →
zproxy wrote 7 months ago: The other day I was wondering if there was anything like a named integer in C#. Today it struck me. … more →
adrianhenke wrote 8 months ago: When dealing with IDataReaders in .NET, one faces the problem of catching DBNull values and properly … more →
landholt wrote 9 months ago: Have you been intrigued by LINQ but disappointed there is no “Like” Extension Method? Well here it i … more →
schleichermann wrote 9 months ago: public static bool ContainsCaseInsensitive(this string source, string value) { int results = source. … more →
Peter McGrattan wrote 10 months ago: (Code download) This post presents a solution to a question on Stack Overflow which I found interest … more →