The PDC05 Sessions are online for 6 months here
Another good reason to attend the UK Launch event
The Singleton Pattern ensures a class has only one instance, and provides a global point of access to it. There are many objects we only need one of: thread pools, caches, objects that handle common settings, objects used for logging, objects that act as device drivers etc. In this case we take a class and let it manage a single instance of itself. We then prevent any other class from creating a new instance on its own and we provide a global access point to the instance.Here is a simple example...
A useful tip posted by Steven Swafford Just copy and paste the following into your text editor and save as a .reg file. Double click the file and now you have access to the VS.NET tools from any command window. Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOF... Processor]"AutoRun"="\"%VS7
Ildasm.exe can be a useful tool to review your assembly. It is located in the \Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\bin folder. Here are a couple of things you can do with it.1) Search for hard-coded strings in your code:Ildasm.exe yourcomponent.dll /text findstr ldstr2) Identify locations that might have boxing overhead:Ildasm.exe yourcomponent.dll /text findstr boxIldasm.exe yourcomponent.dll /text findstr unbox...