Hello
In RO docs, there are 3 examples of use autoreleasepool. For C# is:
using __autoreleasepool
{
// do work here
}
// the auto-release pool will be cleared here
This code do not compile in VS, correct one is:
using (__autoreleasepool)
{
// do work here
}
// the auto-release pool will be cleared here
Docs from: http://docs.elementscompiler.com/Platforms/Cocoa/AutoReleasePools/
b.r.