.NET Fiddle

CSharp · Console

/Program.cs

using System;
					
public class Program
{
	public static void Main()
	{
		string str = "Hello";
		for (int i = 0; i < str.Length; i++)
		{
			Console.WriteLine(str[i]);                
		}
	}
}
;