Except for the unnecessary verbosity, there's no difference between using public fields and the alternative code provided in the article. His thoughts about string concatenation with StringBuilder are asinine. The last tip about unnecessary initialization is unjustified, not globally applicable and the "better" solution is the same as the "bad" solution. Congratulations on reading your first C# book, though.
Comments
eelmore replied ago:
Except for the unnecessary verbosity, there's no difference between using public fields and the alternative code provided in the article. His thoughts about string concatenation with StringBuilder are asinine. The last tip about unnecessary initialization is unjustified, not globally applicable and the "better" solution is the same as the "bad" solution. Congratulations on reading your first C# book, though.
Voters For This Link (12)
Voters Against This Link (4)