M
Mark Sullivan
When I trace through a csharp program I came to a situation where a certain values
has an "undefined value" as shown in the debugger DbgClr.
I want to check this but the following statements did not recognize this "non"-value
if (type.Particle != Undefined.Value) { ....
or
if (type.Particle != null) { .....
In each of these code samples above the program went into the if branch instead of skipping it.
Why?
Mark
has an "undefined value" as shown in the debugger DbgClr.
I want to check this but the following statements did not recognize this "non"-value
if (type.Particle != Undefined.Value) { ....
or
if (type.Particle != null) { .....
In each of these code samples above the program went into the if branch instead of skipping it.
Why?
Mark