How to test what method implementation runs faster
While the question check if input is type of string has been closed two of the answers spiked a micro-optimization question in my mind: which of the below two solutions would perform better? Reed Copsey provided a solution using Char.IsLetter: string myString = "RandomStringOfLetters"; bool allLetters = myString.All( c => Char.IsLetter...