public static void Main()
Console.WriteLine("Drawing test");
public void line(int x,int y,int x2, int y2, int color) {
int dx1 = 0, dy1 = 0, dx2 = 0, dy2 = 0 ;
if (w<0) dx1 = -1 ; else if (w>0) dx1 = 1 ;
if (h<0) dy1 = -1 ; else if (h>0) dy1 = 1 ;
if (w<0) dx2 = -1 ; else if (w>0) dx2 = 1 ;
int longest = Math.Abs(w) ;
int shortest = Math.Abs(h) ;
if (!(longest>shortest)) {
if (h<0) dy2 = -1 ; else if (h>0) dy2 = 1 ;
int numerator = longest >> 1 ;
for (int i=0;i<=longest;i++) {
Console.WriteLine("x:{0}",x);
Console.WriteLine(color);
if (!(numerator<longest)) {