2 ms·
You would never code the SomeMethod like that, you would use this instead: var LObj: IMyInterface; begin LObj := TMyClass.Create;
by TimJYoung 9y ago
You would never code the SomeMethod like that, you would use this instead:
var
LObj: IMyInterface;
begin
LObj := TMyClass.Create;
DoTheFoo(LObj);
LObj.Foo;
end;