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: CS0136: A local variable named 'global' cannot be declared in this scope because it would give a different meaning to 'global', which is already used in a 'parent or current' scope to denote something else

Source Error:


Line 39: @if (!Model.HideForm)
Line 40: {
Line 41:     var global = Model.AncestorOrSelf<IGlobalData>();
Line 42:     <section class="faq-form-block">
Line 43:         <div class="wrapper">

Source File: c:\inetpub\vhosts\ma-spb.ru\httpdocs\Views\FaqPage.cshtml    Line: 41






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