The Visual Studio has evolved so much that anyone hardly uses the CSC.exe tool and command line switches any longer. But there could be days when you are forced to opt for CSC.exe and the biggest woe is the huge list of switches/parameters that you need to associate each time you want to compile using … Continue reading Sneak Peak at Response Files (.rsp)
Tag: Programming
Zero Bug Bounce (ZBB)
ZBB or Zero Bug Bounce is a defect management technique originating from Microsoft that represents the moment (would prefer to call it a milestone) in time when the developers has managed to fix (or triaged) all the bugs reported by the QA team. The bounce refers to the fact the QA team might (and surely … Continue reading Zero Bug Bounce (ZBB)
Evil Code 0001 : Lambda and Ref/out
What would be output of following ? static void Main(string [] args) { List< int> numlist = new List< int>() {1,2, 3, 4, 5, 6, 7 }; CalculateAndPrint( ref numlist); } public static void CalculateAndPrint( ref List< int> Num) { var n = Num.Where(d => d > Num[2]); foreach ( var item in n) { Console.WriteLine(item); } } The most obvious answer is … Continue reading Evil Code 0001 : Lambda and Ref/out