Strange thing about .NET 4.0 filesystem enumeration functionality
- by codymanix
I just read a page of "Whats new .NET Framework 4.0". I have trouble understanding the last paragraph:
To remove open handles on enumerated directories or files
Create a custom method (or function in Visual Basic) to contain
your enumeration code.
Apply the MethodImplAttribute attribute with the NoInlining option
to the new…