<%@ Page Language="C#" %>
<script runat="server">
void Page_Load(Object Sender, EventArgs e) {
string MyMessage = "Hello";
bool MyBool = true;
if (MyMessage == "Hi" & MyBool) {
Response.Write(MyMessage);
} else if (MyMessage == "Hello") {
Response.Write("True");
} else {
Response.Write("False");
}
if (!MyBool) {
Response.Write("False");
}
}
</script>
<html><body>
</body></html>
|