## Replace(*string, string*) {#replace} يستبدل جميع حالات نمط سلسلة الأحرف المحددة بسلسلة بديلة. ```Csharp public int Replace(string pattern, string replacement) ``` | معامل | يكتب | وصف | | --- | ...... ```csharp public int Replace(string pattern...تخصيص أكثر مرونة. ## أمثلة ```csharp Document doc = new Document();...