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: CS1056: Unexpected character '$'

Source Error:


Line 4:  @using PagedList.Mvc;    
Line 5:  @{
Line 6:      ViewBag.Title = $"{Model.Title} {Model.SubTitle} Part { ViewContext.RouteData.Values["page"]}";
Line 7:  }
Line 8:  

Source File: d:\inetpub\vhosts\chivery-1065.package\viaincognita.com\wwwroot\Views\Library\Book.cshtml    Line: 6






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