When I used the following code in C#...
int totalValue = 0; int total = 0; totalValue = int.Parse(Session[\"price\"].ToString()) * int.Parse(Session[\"day\"]
The Equals method is a Static method and you cannot access it via instance
string isChauffeurUsed = Session["IsChauffeurUsed"].ToString(); totalValue += string.Equals(isChauffeurUsed, "Yes", StringComparison.CurrentCultureIgnoreCase) ? 80 : 0;