Question:You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.
You create a Web page named Default.aspx in the root of the application. You add an ImageResources.resx resource
file in the App_GlobalResources folder. The ImageResources.resx file contains a localized resource named
LogoImageUrl.
You need to retrieve the value of LogoImageUrl.
Which code segment should you use? 

A string logoImageUrl = (string)GetLocalResourceObject("LogoImageUrl"); 

B string logoImageUrl = (string)GetGlobalResourceObject("Default", "LogoImageUrl"); 

C string logoImageUrl = (string)GetGlobalResourceObject("ImageResources",
"LogoImageUrl"); 

D string logoImageUrl = (string)GetLocalResourceObject("ImageResources.LogoImageUrl"); 

+ Answer
+ Report
Total Preview: 1023

Copyright © 2024. Powered by Intellect Software Ltd