Determina si tres puntos son colineales

Crea un método Program.SameLine que devuelva si tres puntos se encuentran sobre la misma línea recta. Cada punto se representa como [x, y].

Ejemplos

Program.SameLine(new int[][] { new int[] { 0, 0 }, new int[] { 1, 1 }, new int[] { 3, 3 } }); // ➞ true
Program.SameLine(new int[][] { new int[] { -2, -1 }, new int[] { 2, 1 }, new int[] { 0, 0 } }); // ➞ true
Program.SameLine(new int[][] { new int[] { -2, 0 }, new int[] { -10, 0 }, new int[] { -8, 0 } }); // ➞ true
Program.SameLine(new int[][] { new int[] { 0, 0 }, new int[] { 1, 1 }, new int[] { 1, 2 } }); // ➞ false
Program.SameLine(new int[][] { new int[] { 3, 4 }, new int[] { 3, 5 }, new int[] { 6, 6 } }); // ➞ false

Notas

Recuerda que una línea recta puede ser vertical, horizontal o inclinada.