Rextester Program Main is the entry point for your code Don change it

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//Rextester.Program.Main is the entry point for your code. Don't change it.
//Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace Rextester
{
public class Program
{
public static void Main(string[] args)
{
int[] array = new int[10]{23,55,643,543,13,6,8,1,0,11};
int delInd = 3;
for(int i = delInd; i < array.Length - 1; i++) {
array[i] = array[i + 1];
}
for (int i = 0; i < array.Length - 1; i++) {
Console.Write(array[i] + ", ");
}
Console.WriteLine();
}
}
}