Answer the question
In order to leave comments, you need to log in
Is it possible to replace all calls to String.Format() with calls to another method?
There are several hundred places in the project where String.Format() is called. Is it possible to somehow replace them with a call to some other method? And then I'm too lazy to edit the whole project with my hands.
Answer the question
In order to leave comments, you need to log in
Looking for all files with .cs extension.
There banal Replace you replace "String.Format" with the necessary method. If necessary, add "using specialNamespace;" to the beginning of the file.
A one-time utility is written either on PS or on the sharp itself.
If your input parameters are the same, then you can use the banal Find&Replace. However, your method most likely lies in a non-standard namespace and most likely even a smart replacement will break Build
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question