You work as a Web Developer at Certkiller.com. You make use of Microsoft ASP.NET 3.5 in orderto create a Web Site.
In a separate code file you create the following class:
public static class _Colors
{
public static Color NormalActivityColor = Color.Green;
public static Color WarningActivityColor = Color.Yellow;
public static Color ErrorActivityColor = Color.Red;
public static Color GetRandomColor()
{
Random random = new Random((int)DateTime.Now.Ticks);
int randomArgbValue = random.Next();
Color color = Color.FromArgb(255, Color.FromArgb(randomArgbValue));
return color;
}
}
You need to ensure that the class is consumed by the Web Site. You have to configure the WebSite project.
What should you do?()