Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1502: The best overloaded method match for 'string.Replace(string, string)' has some invalid arguments

Source Error:


Line 25:         <div class="container corpText">
Line 26:             <div class="TnC">
Line 27:                 @Html.Raw(Corporate.WhyUsContent.Replace("#SiteName#", UIHelper.AffiliateInfo.DisplayName))
Line 28:             </div>
Line 29:         </div>

Source File: f:\HohoBumblebee-PROD\HohoBumbleBee-PROD-Release-1981\Views\Corporate\why-book-with-us.cshtml    Line: 27






Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3429.0