c042cd0c52
Former-commit-id: 4610231f55806d2a05ed69e5ff3faa7336cc1479
17 lines
259 B
C#
17 lines
259 B
C#
using System.Linq;
|
|
using System.Collections.Generic;
|
|
|
|
class MM
|
|
{
|
|
public IEnumerable<int> myEnumerable { get; set; }
|
|
}
|
|
|
|
class Test
|
|
{
|
|
public static void Main ()
|
|
{
|
|
MM myobject = null;
|
|
(myobject?.myEnumerable?.Any ()).GetValueOrDefault (false);
|
|
}
|
|
}
|