views:

56

answers:

1

I have a quick question.

If I have an interface from which my class derives, I can use that interface as a proxy for lazy loading. If I have an abstract class from which my class derives, can I use the abstract class as a proxy for lazy loading?

Thx alot!

+1  A: 

Yes, you can. If you use an abstract class it has to be either a pure abstract class (i.e. no defined method bodies) or the defined methods have to be virtual.

Relevant doc pointers:

Mauricio Scheffer
Thanks a lot! I'll give it a go.
DaeMoohn