Einzelnen Beitrag anzeigen

Benutzerbild von DP News-Robot
DP News-Robot

Registriert seit: 4. Jun 2010
14.984 Beiträge
 
#1

Accessing Private Stuff with Interfaces

  Alt 27. Jun 2011, 23:00
I have to admit that the following code surprised me.  I guess it makes sense, but I wouldn’t have guessed that you can expose private functionality via an interface like this.  Interesting.  program DoPrivateStuff; {$APPTYPE CONSOLE} uses SysUtils; type ITestInterface = ...

More...
  Mit Zitat antworten Zitat