6992685b86
Former-commit-id: 0a113cb3a6feb7873f632839b1307cc6033cd595
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);
|
|
}
|
|
}
|