A
Andre
Why is it that most of the articles found on the net (written by
professional authors) and books (such as Sams .NET CLR Unleashed) give
bogus examples and state incorrectly that "reference-types are passed by
reference" in C#? They are *not*. Almost out of 10 articles, 9 make such
a statement. Recently I read an article by Jeffrey Ritcher on Arrays in
..NET, under the Passing and returning Arrays section it states "Arrays
are always passed by reference to a method" as the first line. I thought
Jeffrey would know better? Don't people at MSDN proof read these
articles? Isn't that claim wrong? What's the matter with people!
-Andre
professional authors) and books (such as Sams .NET CLR Unleashed) give
bogus examples and state incorrectly that "reference-types are passed by
reference" in C#? They are *not*. Almost out of 10 articles, 9 make such
a statement. Recently I read an article by Jeffrey Ritcher on Arrays in
..NET, under the Passing and returning Arrays section it states "Arrays
are always passed by reference to a method" as the first line. I thought
Jeffrey would know better? Don't people at MSDN proof read these
articles? Isn't that claim wrong? What's the matter with people!
-Andre