Server Error in '/' Application.

Parser Error

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

Parser Error Message: The if block is missing a closing "}" character.  Make sure you have a matching "}" character for all the "{" characters within this block, and that none of the "}" characters are being interpreted as markup.


Source Error:


Line 12: @{ var selection = Model.Content.Children.Where(x => x.IsVisible()).ToArray(); }
Line 13: 
Line 14: @if (selection.Length > 0)
Line 15: {
Line 16:     <div class="row">

Source File: /Views/Partials/listChildrenLeaflets.cshtml    Line: 14


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