Driver code
public static void Main ( String [ ] args ) { int n = 3 ; List < int > arr = getRow ( n ) ; for ( int i = 0 ; i < arr . Count ; i ++ ) { if ( i == arr . Count - 1 ) Console . Write ( arr [ i ] ) ; else Console . Write ( arr [ i ] + " , ▁ " ) ; } } }