Driver code
public static void Main ( String [ ] args ) { int [ ] arr = { 200 , 10 , 5 } ; List < int > v = new List < int > ( arr ) ; int n = v . Count ; Console . WriteLine ( maxSize ( v , n ) ) ; } }