Can static constructors use optional arguments? As MSDN says, A static constructor is called automatically to initialize the class before the first instance is created. Therefore you can't send it any parameters. If the CLR must call a static constructor how will it know which parameters to pass it? Name design patterns and principles you... Continue Reading →
C# Fast Collections : Performance Tips
Performance tips in C#
c# Interview Questions
What’s the difference between the Debug class and Trace class? Documentation looks the same. Use Debug class for debug builds, use Trace class for both debug and release builds. Can you declare an override method to be static if the original method is not static? No. The signature of the virtual method must remain the same. (Note:... Continue Reading →