Ad
  • Custom User Avatar

    it is short but very suboptimal unfortunately - this forces unnecessary calcualtion of square number... if the array is large then it is very inefficient. Manual squre is the way as it allows to return false if the first one or any is false, rather than doing all the calculations beforehand.

  • Custom User Avatar

    Linq is indeed a very effective technology