Step 1. Open Visual Studio 2015. Step 2. Click New Project and open Console Application. Give any name in the name box. Step 3. Declare number of arrays and arrange in an ascending order by using the code.