Question:
Hi,
I am a new programmer to .NET and I would like to know if there are any tools or if there is any mechanism of detecting dead code or redundant code in order to remove the same and free up some memory.
Please let me know the same in order to debug the code and perform a static code analysis.
Regards,
Amarjeet
Answer1:
Resharper is a widely used and pretty advanced productivity tool for Visual Studio. It performs real-time static code analysis and does a pretty good job at detecting unused code.
http://www.jetbrains.com/resharper/index.html
Philippe [.NET technical architect and CoolStorage.NET and ProMesh.NET project coordinator]