I am working in iOS. The latest build for indie version.
I am doing something I have done in Visual Studio many times in the past. Implement IDisposable on the class. I get this error on compile. "type used in using statement must be implicitly convertible to System.IDisposable"
public class Access: IDisposable
{
public void IDisposable.Dispose()
{
if(_dbclient!=Nullable) _dbclient.Dispose();
}
}
using (LettersApp.Business.Data.Access a=new LettersApp.Business.Data.Access()) {
}
Is this a bug or by design because of phone os architecture?