How to draw a line with color in c#[solved]

i can draw a line in c#,but in viewport it show red,how can output it by a color by c# ,thank you!

solved,used this function
args.Display.DrawLine