Why lambda is faster than other approaches? - C#