I am using the C# Exam Cram for 70-315, and I have the following code:
<%@ Page Language=“C#” %>
Fahrenheit to Celsius Conversion Chart
<% for (double f=50.0; f<=100.0; f++) { // Sends formatted output to HTTP response Response.Output.Write( "", f, ToCelsius(f)); } %>| ° Fahrenheit | ° Celsius |
|---|---|
| {0} | " + "{1:f} |
When I run it from Visual Studio (View in Browser) I get the following error message:
Line: 5
Char: 10
Error: Expected ‘;’
Code: 0
URL: http://localhost/ExamCram/315C02/Example2_1.aspx
Alejandro