C# Frequently Asked Questions
The C# team posts answers to common questions and describes new language features
March 2006 - Posts
How do I play default Windows sounds?
27 March 06 07:03 PM
Sometimes, you might want to make your application a bit more audible. If you are using .NET 2.0, you can utilize the new System.Media namespace and its SystemSound and SystemSounds classes. The SystemSounds class contains five static properties that
Read More...
How can I easily log a message to a file for debugging purposes?
27 March 06 06:59 PM
Often, you need a way to monitor your applications once they are running on the server or even at the customer site -- away from your Visual Studio debugger. In those situations, it is often helpful to have a simple routine that you can use to log messages
Read More...
How can I speed up hashtable lookups with struct object as keys?
20 March 06 06:54 PM
When you have struct objects as the key in a hashtable, the lookup operation of the hashtable performs miserably. This can be attributes to the GetHashCode() function which is used internally to do the lookup. If a struct contains only simple value types
Read More...
This Blog
Home
Links
Email
Tags
.NET Framework
.NET Framework 4.0
C# 4.0
C# Language 2.0
C# Language and Compiler
C#/VB.NET Equivalents
Debugger/Debugging
DLR
dynamic language runtime
DynamicObject
ExpandoObject
expression trees
General
IDE
LINQ
LINQ to Objects
Tips
Visual Studio 2010
Archives
November 2009 (1)
October 2009 (2)
September 2009 (1)
March 2009 (1)
January 2009 (1)
October 2006 (2)
March 2006 (3)
February 2005 (1)
December 2004 (4)
November 2004 (1)
October 2004 (15)
August 2004 (3)
July 2004 (3)
June 2004 (1)
May 2004 (8)
April 2004 (4)
March 2004 (36)
Syndication
RSS 2.0
Atom 1.0