S
S
Sergey Karbivnichy2015-04-01 15:23:07
Programming
Sergey Karbivnichy, 2015-04-01 15:23:07

How to clean the code from unnecessary methods?

I'm working on a relatively small project. I will improve something, I will rewrite something. And here in the code there are some methods that are not called in the code. Are there any tools to clean the code from unused methods, variables, etc. (Unused studio variables and SharpDevelop shows - I know). Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Sergeev, 2015-04-01
@hottabxp

Ultimate edition of VS shows the number of calls to methods, it's safe to remove methods with zero calls. Although it depends on the project, of course.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question