Skip to content

Commit 959fa25

Browse files
Addressed feedback
1 parent 77679f7 commit 959fa25

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • Performance-metrices/Find-and-Replace/.NET/Find-and-Replace/Find-and-Replace

Performance-metrices/Find-and-Replace/.NET/Find-and-Replace/Find-and-Replace/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ static void Main(string[] args)
1818
//Find all occurrences of a misspelled word and replaces with properly spelled word
1919
int replacedCount = document.Replace("document", "DocIO", false, false);
2020
stopwatch.Stop();
21-
Console.WriteLine(replacedCount);
21+
Console.WriteLine($"Count of replaced words in the word Document: " + replacedCount);
2222
Console.WriteLine($"Time taken for Replace (string):" + stopwatch.Elapsed.TotalSeconds);
2323
//Create file stream
2424
using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Result.docx"), FileMode.Create, FileAccess.ReadWrite))

0 commit comments

Comments
 (0)