C#

Using a hybrid XSLT solution to send an email

Edmond Woychowsky recounts how a hybrid XSLT solution that he used recently reminds him of his college days. Read more »

How using an XSL/C# hybrid may prevent an accounting snafu

Check out this hybrid of XSL and C# that Edmond Woychowsky used to resolve a floating point error in Microsoft's implementation of the XPath sum() function. Read more »

Code concepts: C#'s extension methods

C#’s extension methods are a way of adding additional functionality to an existing class without subclassing it or having access to the source code. Programmers should definitely add extension methods to their toolkit. Read more »

C#'s var keyword

Today, we take a closer look at C#’s var keyword, which was introduced in C# 3.0 Read more »

Why do C# developers look down on VB.NET?

Most of the anti-VB.NET talk comes from C# developers. This article argues that it's particularly baffling because the language that most resembles VB.NET from a technical standpoint is C#. Read more »

Tags: c#, vb.net

How do I... Serialise a hash table in C# when the application requires it?

Unfortunately, the .NET Framework does not allow serialisation of any object that implements the IDictionary interface. This restriction includes, but is not limited to, hash tables. Read more »

Tags: .net, c#, list, object, table

Use the FileSystemWatcher to monitor directory changes in C#

One of the more interesting objects included in the Microsoft .NET Framework class library is the System.IO.FileSystemWatcher. This object allows you to be notified when certain events occur in a directory, such as file creation, deletion, or modification. Read more »

Tags: .net, c#, object

How do I ... publish a custom application performance counter in C#?

Since performance counters are a standard system function they are an ideal method for tracking the performance your applications. Luckily, Microsoft has provided several classes within the .NET Framework to publish custom performance counters. Read more »

How do I ... convert images to greyscale and sepia tone using C#?

The Microsoft .NET Framework provides developers with many different libraries that enable them to create and modify images. This article demonstrates two methods for converting an image to grayscale and sepia-tone using built-in .NET Framework functionality from C#. Read more »

Implementing the Soundex function in C#

For years Microsoft SQL Server has provided developers with a method called Soundex that is used to retrieve an encoded string. Words that sound alike have similar encodings, so you can use this functionality to provide some flexibility in searches. This article shows how to implement Soundex completely in C# without having to use the SQL function. Read more »

Tags: .net, c#, soundex, sql

Log in


Sign up | Forgot your password?

  • Staff Microsoft shows off IE9 preview

    This week, highlights from Microsoft's MIX10 conference and more in the Roundup. Read more »

    -- posted by Staff

  • Chris Duckett IE9's H.264 vote killed Ogg

    In a split decision by the judges, the winner of the W3C/WHATWG video codec consensus is H.264, taking home the future of video playback on the internet while loser Ogg goes home with nothing but thoughts of what might have been. Read more »

    -- posted by Chris Duckett

  • Staff Google launches Apps Marketplace

    Google launches and app store, while Mozilla plans to re-write its open-source license. More of this week's news in the Roundup. Read more »

    -- posted by Staff

What's on?

  • Optus Deal

    Broadband + home phone + PlayStation®3 in a single package price!