using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication7 { namespace HelloWorld { class TVSet { public void InsertSort(IComparable[] array) { int i, j; for (i = 1; i < array.Length; i++) { IComparable value = array[i]; j = i - 1; while ((j >= 0) && (array[j].CompareTo(value) > 0)) { array[j + 1] = array[j]; j--; } array[j + 1] = value; } } } class Program { static void Main(string[] args) { TVSet myTV = new TVSet(); myTV.InsertSort();//не знаю як ініалізувати } } } }