c# - How to remove redundant codes? -


am not sure i'm asking in right place. using open xml productivity tool 2.0 , after generating codes, have redundant code like:

bold bold1 = new bold(); bold bold2 = new bold(); text1 = new text("a"); text2 = new text("a"); ...etc. 

it consumes thousands of lines , difficult me navigate through.

i tried resharper:

resharper screenshot

but can see threat handing me (now changed 18 hours , not sure able solve it).

second screenshot

is there program out there can perform type of refactoring fast?

thanks.


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -