- #1
- 2
- 0
How would you go about passing a color into a C# method and using that color inside the method to create a new pen? Assuming everything else is defined
Is it MethodName(Color color)
Graphics pen1 = new Pen(color.Color,1);
or is it something completely different?
Is it MethodName(Color color)
Graphics pen1 = new Pen(color.Color,1);
or is it something completely different?