using System;

namespace MyCompiler {
    class Program {
        public static void Main(string[] args)
        {
            Console.WriteLine("Hello world!");
            sortt(new int[]{1,232,555,6,7,7});
        }
        
        public static void sortt(int[] arr){
            for(int j = 0; j < arr.Length -1;j++)
            {
                for(int i = 0;i < arr.Length-1;i++ )
                {
                    int swap = 0;
                    if(arr[i] > arr[ i+1])
                    {
                       swap  = arr[i+1];
                       arr[i+1] = arr[i];
                       arr[i] = swap;
                    }
                }
            }
            foreach(int i in arr)
            {
                Console.WriteLine(i);
            }
        }
    }
}

Embed on website

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