找考题网-背景图
单项选择题

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You define the following class:  
public class Product {  
public decimal Price { get; set; }  
}  
Your application contains a Web form with a Label control named lblPrice. 
You use a StringReader variable named xmlStream to access the following XML fragment:
<Product>  
<Price>35</Price>  
</Product>   
You need to display the price of the product from the XML fragment in the lblPrice Label control. 
Which code segment should you use?()

A.A
B.B
C.C
D.D

热门试题