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

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -