C # program to sort an array of size 3
using System ; class GFG { public static void Main ( ) { int [ ] a = { 10 , 12 , 5 } ; Array . Sort ( a ) ; for ( int i = 0 ; i < 3 ; i ++ ) Console . Write ( a [ i ] + " ▁ " ) ; } }