Possible Duplicate:
Effect of unused methods and properties on library or executable
I am working on a project in which I am using existing application for development, and doing customization as per the project requirement. While customizing I found a lot of functions & methods that are of no use in current project. I am thinking of keeping that code as it is and doing customization in the required code only, but I am not very sure about how much this unreachable code will affect the performance of my application. Should I keep them as-is or remove them?
EDIT: In my application DataInteraction assembly contain 20 methods out of which 2 are in use and rest of them not, but as per my knowledge if any of the method of a assembly is called than entire assembly get loaded into memory and if yes than I feel it will effect performance.