Null check .any()
if(content.Any())
{
// Do something
} @if (content != null && content.Any())
{
// do something
}
Last updated
if(content.Any())
{
// Do something
} @if (content != null && content.Any())
{
// do something
}
Last updated