.NET news » C# C# Rss Feed

download
Testing Custom Transform Streams
One of the first things that developers new to the Microsoft .NET Framework learn is how to read from and write to text files using methods from the FileStream class of the System.IO namespace. However, the .NET I/O stream model also provides developers with a powerful way to create custom stream classes. In this month's column, I'll explain key techniques you can use to test such custom stream classes-and specifically those that deal with transforming data read from or written to another stream.
14 Jan 2007, 18:00:00   Source: Testing Custom Transform Streams   Tags: C#
The "using" keyword in C#
A look at the c# "using" keyword. What happens behind the scenes.
10 Jan 2007, 20:07:00   Source: The "using" keyword in C#   Tags: C#
The use of Stacks in C#
Using a stack to manage priorities
5 Jan 2007, 15:53:00   Source: The use of Stacks in C#   Tags: C#
How Events Work Under the Surface
Shows what goes on behind the "magic" that the compiler does when you declare a simple event member in a class.
1 Jan 2007, 09:00:00   Source: How Events Work Under the Surface   Tags: C#
Back to basics - Generic Data Structures and Algorithms In .NET 2.0
Implementations of generic data structures and algorithms in .NET 2.0.
29 Nov 2006, 09:13:00   Source: Back to basics - Generic Data Structures and Algorithms...   Tags: C#
When and How to Use Dispose and Finalize in C#
Although the .NET framework frees managed memory and resources transparently, it's not as adept at freeing unmanaged resources; you have to help it out by implementing the Dispose and Finalize patterns in your code.
27 Nov 2006, 16:36:09   Source: When and How to Use Dispose and Finalize in C#   Tags: C#
Fun with Singletons in C# 2.0
This article will show you how to create generic singletons that honor all of their properties and at the same time are extensible enough to handle not so obvious scenarios.
21 Nov 2006, 10:10:00   Source: Fun with Singletons in C# 2.0   Tags: C#
Observable property pattern, memory leaks, and weak delegates for .NET
This article is dedicated to the observable property design pattern, a very nice pattern used in the Microsoft .NET Framework, a possible memory leak problem with it, and gives a couple of ways to solve it.
13 Nov 2006, 12:11:00   Source: Observable property pattern, memory leaks, and weak...   Tags: C# Performance
MethodLogger - Hook into method calls in .NET binaries
Modifies .NET MSIL binaries to call configured methods at the beginning and end of methods in the binaries.
13 Nov 2006, 09:51:00   Source: MethodLogger - Hook into method calls in .NET binaries   Tags: C# Debug
Dynamic Dispatching
This article demonstrates how to work around problems with the classical Visitor pattern by employing dynamic dispatching.
7 Nov 2006, 03:46:00   Source: Dynamic Dispatching   Tags: C#