I try thisThis fails, so I say boxing is a flaw. If not, then how can I check for a null struct please?PHP Code:StructX x=func();
while(null!=(object)x)
{
//do something
x=anotherfunc();
}
Thanks
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 3 of 3
Thread: boxingThreaded View
|
Click Here to Expand Forum to Full Width |