using System;

namespace MyCompiler {
    class Program {
        public static void Main(string[] args) 
        {
            Console.WriteLine("Hello world!");
            char[] arr = new char[] {'A','B','C','D','E'};
            char v = ' ';
            for(int j = 0; j < arr.Length - 1;j++)
            {
               for(int i = 0; i < arr.Length - 1-j;i++)
               {
                    v = arr[i+1];
                    arr[i+1] = arr[i];
                    arr[i] = v;
                    Console.WriteLine("After {0} => {1}",arr[i],arr[i+1]);
               }
            }
            Console.WriteLine(string.Join("",arr));
        }
    }
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: