title: Drawing a line in Mono for android
body: <p>I' m trying to draw a simple point (x,y) to point (x2,y2) line with mono for android. I'm trying to do this by using the Canvas.drawline() function. Here is what I have so far:</p>
  
  <pre><code>protected override void OnCreate(Bundle bundle)
  {        
      base.OnCreate(bundle);
      Paint P = new Paint();
      Canvas C = new Canvas();
  
      P.Color = Color.Red;
      P.StrokeWidth = 2;           
  
      C.DrawLine(100, 100, 200, 200, P);
  }
  </code></pre>
  
  <p>This should draw a line between the points 100,100 to 200,200 but for some reason, it doesn' t draw a line at all. So I could use some help. Is there something wrong in this code?</p>