.NET news » C# 
Pro C# 2008 and the .NET 3.5 Platform, Fourth Edition (Windows.Net)
Author: Andrew Troelsen
Average rating: (34 reviews)
More .NET C# books
Filtering properties in a PropertyGrid
This articles describes some easy ways to filter the properties displayed in a Microsoft PropertyGrid.
math / function / boolean /string expression evaluator
C# .NET assembly that executes numeric, date, string, boolean, comparison, etc. expressions.
Using P/Invoke to Call Unmanaged APIs from Your Managed Classes
Learn how to use P/Invoke to call unmaged Win32 APIs from managed code. These sample applications show how to mute sounds, change Windows resolution, and display ballon tips from your managed code.
16 Mar 2006, 15:19:57 Source: Using P/Invoke to Call Unmanaged APIs from Your Managed...
Tags: C#
VB.NET
Sending complex emails in .NET 1.1
This article describes complex issues about sending emails in .NET 1.1 (such as using a SMTP server that requires authentication).
Using IFilter in C#
Using the IFilter interface to extract text from various document types
Performance Quiz #9 : IList<T> List and array speed
A short and sweet quiz with lots of juicy discussion possibilities:
public int Sum(IList<ushort> indices)
{
int result = 0;
for (int i = 0; i < indices.Count; i++)
result += indices[i];
return result;
}
Considering only the time it takes to do the Sum (i.e. assuming we had already set up the array/list) which gives better performance and why?
// #1
ushort[] tmp = new ushort[500000]; // this doesn't count
Sum(tmp);// this is what we are timing
OR
// #2
List<ushort> tmp = new List<ushort>(500000); // this doesn't count
for (int i = 0; i < 500000; i++)tmp.Add(0); // this doesn't count
Sum(tmp); // this is what we are timing
What say you gentle readers?
9 Mar 2006, 18:31:00 Source: Performance Quiz #9 : IList<T> List and array speed
Tags: Performance
C#
Descriptive Enumerations
Using .NET 2.0 generics to allow for enum like classes with human readable descriptions.
Persisting Rich Text
Extending the RichTextBox to support form persistance and data binding.
Validation with Regular Expressions Made Simple
This article aims at making regular expressions simple. By the time you are done, you will be able to write simple validators, and you will know enough about regular expressions to dig into it further without slitting your wrists.
Sound Experiments in Managed DirectX
Using static and streaming sound buffers in Managed DirectX.

