Extending Classes: Extension Methods or Inheritance?

Introduction Extension methods were introduced in C# 3.0 as a way of extending a class without necessarily having access to the original source code of the class. As discussed in the C# Programming Guide on MSDN, extension methods were primarily introduced to the language to allow LINQ to add standard query operators such as GroupBy … Continue reading Extending Classes: Extension Methods or Inheritance?

Running Visual Studio as an Administrator under Windows Vista

Introduction This article discusses why we should run Visual Studio as an administrator, and examines the easiest way to do that under Windows Vista. Visual Studio and Administrator Rights As .Net developers we need to be able to run Visual Studio as a Windows administrator. Visual Studio 2005 actually warns you at start up if … Continue reading Running Visual Studio as an Administrator under Windows Vista