public static void Main()
променливи от целочислен вид:n-върхове, m - ребра,
u- начало на ребро, v - край на ребро, i,j-броячи
n = int.Parse(Console.ReadLine());
m = int.Parse(Console.ReadLine());
List<int>[] Gr = new List<int>[n + 1];
Gr[i] = new List<int>(n + 1);
for (j = 0; j <= n; j++) Gr[i].Add(0);
u = int.Parse(Console.ReadLine());
v = int.Parse(Console.ReadLine());
for ( j = 1; j <= n; j++)
Console.Write(Gr[i][j] + " ");