On 28/08/2018 12:54 AM, SG wrote:
The same thing for struct in C#

Struct S{
    public int? i;
}

S.i == null; // This works nicely.

https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/nullable-types/index

So Nullable in D and C# is basically the same except C#'s has language support.

Reply via email to