Lost your password?

Blogs about: Extension Method

Featured Blog

C#: String to Enumeration Extension Method

schleichermann 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 →

Tags: C#, Extension

C#: SHA1 String Hash Extension Method

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 →

Tags: C#, Extension

C#: ArrayList.ToList() Extension Method

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 →

Tags: C#, Extension

Let there be chaos – sort of

xosfaere wrote 1 month ago: Program code follows order. Syntax and semantics. But when run, it can be very unpredictable and uno … more →

Tags: Computer Science, Declarative, Imperative, Nature, Paradigm, Software, technical, universe, C#

Extension Methods : What When How

prazjain wrote 2 months ago: What are Extension Methods Interfaces have allowed us to attach only declaration of methods with the … more →

Tags: C# 3.0 Language Enhancement

{Unqualified}Linq

xosfaere wrote 2 months ago: I have been increasingly using XLinq for various small tasks and it really is quite productive. Rece … more →

Tags: program, Software, technical, C#, infoset, LinkedIn, LINQ, Local Name, Namespaceless

Wpf UIElement keyboard focus helper

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 →

Tags: C#, WPF

Console Extension Methods1 comment

xosfaere wrote 2 months ago: Console applications have one problem that occur in just about every console application: parameter … more →

Tags: Software, technical, .NET, LinkedIn, C#, Generics, Console, commandline, Parsing

C#: Cloneable Generic List Extension Method

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 →

Tags: .NET, C#

C# Extension Method By Simple Example!

maxi326 wrote 4 months ago: For Example, You want to add new methods to System.Web.UI.WebControls.CheckBoxList Step One. Declare … more →

Tags: Programming, .NET, C# 3.5, Extension

Firing C# events without manual null check

mafutrct wrote 4 months ago: Questionable improvement Recently, I had a look at Hidden Features of C# again. One of the top voted … more →

Tags: English, Non-Baduk, C#, Hack, .NET, dev, Eventhandler, Delegate, null check

Extending Classes: Extension Methods or Inheritance?2 comments

richnewman wrote 5 months ago: Introduction Extension methods were introduced in C# 3.0 as a way of extending a class without neces … more →

Tags: .NET, C#, dotnet

A Nifty Extension Method for Mapping Property Values by Name

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 →

Tags: Code, C#, AutoMapper

.Net TrippleDES Encryption

schleichermann wrote 7 months ago: Although TrippleDES is no longer considered to be a very secure encryption method you may find there … more →

Tags: .NET, Security, encryption, TrippleDES

Named Integers in C# aka Typedef

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 →

Tags: Life, integer, ENUM, typedef

Dealing with DBNull in DataReaders1 comment

adrianhenke wrote 8 months ago: When dealing with IDataReaders in .NET, one faces the problem of catching DBNull values and properly … more →

Tags: IT, C#, Generics

LINQ Like Extension Method

landholt wrote 9 months ago: Have you been intrigued by LINQ but disappointed there is no “Like” Extension Method? Well here it i … more →

Tags: LINQ, C#, Code, ASP.NET, Helper, mvc

C# String.Contains Case Insensitive Extension Method7 comments

schleichermann wrote 9 months ago: public static bool ContainsCaseInsensitive(this string source, string value) { int results = source. … more →

Tags: .NET, C#, Extension

Filtering Silverlight DataGrid Rows with ApplyMutateFilter<T>3 comments

Peter McGrattan wrote 10 months ago: (Code download) This post presents a solution to a question on Stack Overflow which I found interest … more →

Tags: DataGrid, Silverlight, DataGrid Row Visibility, ObservableCollection, Silverlight 2


Have your say. Start a blog.

See our free features →

Related Tags
All →

Follow this tag via RSS