protected override void OnPaint(PaintEventArgs e)
{
Graphics g = e.Graphics;
g.FillRectangle(Brushes.Aqua, 100, 50, 47, 200);
base.OnPaint(e);
}
2. Describe the syntax for declaring a delegate named TryThis that is used to represent methods with the following signature:public delegate bool TryThis();
delegate bool TryThis(); //also accepted