The first works in all versions of C #, and the second only works on 2.0 and higher. If you need you to compile code with the C # 1.0 compiler, go to the first; otherwise, I would use a more compressed version. The generated code should be identical in both cases.
source
share