Answers for "specific letter character change c#"

C#
0

specific letter character change c#

Console.WriteLine("============");
			Console.WriteLine("Hi there ");
			string text = "eeeeeeeeeee";
			Console.WriteLine(text);
			Console.WriteLine("============");
			char[] array = text.ToCharArray();

			for (int i = 0; i < array.Length; i++)
			{
				if (array[i] == 'e')
					array[i] = 'E';
			}

			text = new string(array);
			Console.WriteLine("============");
			Console.WriteLine("Hi there ");
			Console.WriteLine(text);
			Console.WriteLine("============");
Posted by: Guest on September-30-2021

Code answers related to "specific letter character change c#"

C# Answers by Framework

Browse Popular Code Answers by Language