Re: Console.WriteLine(s) Is Missing Line Terminator?



On Sat, 18 Nov 2006 00:07:40 +0100, Mattias Sjögren wrote:

Also as a rule of thumb, avoid using '&' to concatenate strings, as it has
a tendency to hide casting errors.

Huh? Can you give an example of that? And what do you suggest we use
instead? Hopefully not the + operator.


It's only in there for VB6 style compatibility,

No it certainly isn't.


Mattias

I'm still fascinated to hear your reasoning, Mattias. Don't let this thread
die... :)

Cheers,
Gadget
.



Relevant Pages