
prabhu
blogs from bangalore


Merging arrays or collections implementing IEnumerable can be useful at times. For example,consider two integer arrays of equal length . int[] numArrOne = new int[] { 1, 2, 3, 4 }; int[] numArrTwo = new int[] { 5, 6, 7, 8 }; LINQ's zip can be used to merge them(the elements are added(merged) along t...
Posted on 23 November 2012 | 5:04 pm
Read postHow it works? C# Python Most of the modern programming languages we use today have built in libraries to handle mathematical functions.Every language ships with a rich math library that can easily handle most of the mathematical tasks.Finding square root is one. Calculating square roots is so preval...
Posted on 7 September 2012 | 5:31 am
Read postProblem 98 Solution Console output By replacing each of the letters in the word CARE with 1, 2, 9, and 6 respectively, we form a square number: 1296 = 362. What is remarkable is that, by using the same digital substitutions, the anagram, RACE, also forms a square number: 9216 = 962. We shall call CA...
Posted on 4 September 2012 | 10:13 pm
Read post