thanks Ignacio:
lets say there are 23 lines instead of one line to replace.
find locates the one line and then manually paste the new code.
(think on what you do when maintaning source code, its just that we have too
many methods alike without refactoring)
"Ignacio Machin ( .NET/ C# MVP )" wrote:
> On May 13, 1:21 pm, raulavi <raul...@discussions.microsoft.com> wrote:
> > c# vs 2008
> >
> > what's the best way...
> > need to apply changes to some methods in many source files (C#.cs).
> >
> > (Pseudocode) here is how is done manually:
> > 1. open the source (thisClass.cs)
> > 2. find/locate in source socde
> > 3. change lines (could be extensive code)
> > 4. save
> > 5 open next source file
> > repeat and repeat and repeat and ...bla,bla
> >
> > P.D.
> > don't even think find and replace.
> >
> > must be something simpler to perform this task.
> > maybe a third party product ? any problems if version controlled?
> >
> > TIA- Thanks
>
> Hi,
>
> What are those changes though?
>
> Can you do a pattern change?
> How do you decide what to change?
>
|