C# code needed to draw a rectangle and filling it with gradient color.

Code should be C# for VS .NET 2003

I just want to draw a rectangle and fill it with any RGB color one edge and fade to White at the other.
Complete code for Main() needed so that as soon as app runs, the rectangle is drawn and painted.
Who is Participating?
dttriConnect With a Mentor Commented:
  This is exactly what you need:

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.