无码高清视频|成人自拍视频|欧美成人午夜无码A片秀色直播|草美女视频网站|美女被操网站在线观看

單項(xiàng)選擇題

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?()

A.You should add the file to the App_Code folder of the project.
B.You should add a Register directive that will reference the file to every page that makes use ofthe class.
C.This can be accomplished by referencing the file in the assemblies segment of the Web.configfile.
D.This can be accomplished by referencing the file in the httpHandlers segment of the Web.configfile.

題目列表

你可能感興趣的試題

微信掃碼免費(fèi)搜題