/*
* C# Programmers Pocket Consultant
* Author: Gregory S. MacBeth
* Email: gmacbeth@comporium.net
* Create Date: June 27, 2003
* Last Modified Date:
*/
using System;
using System.Text;
namespace Client.Chapter_6___Strings
{
public class ReplacingCharacters
{
static void Main(string[] args)
{
StringBuilder MyString = new StringBuilder("AAAAABBB");
Console.WriteLine(MyString);
MyString.Replace("A", "F");
Console.WriteLine(MyString);
}
}
}
|