I had this code
which does nothing. The compiler thought doesn't gave me a warning, something equivalent to the "statement with no effect" you get from GCC.Code:string name = "ABCDEF"; name.Replace("A", "B");
The warning level is at maximum.
Is there another way to set this on? Is there a reason that the compiler doesn't detect that the statement does nothing?