Thanks 4 clearing up my misunderstanding. Regards, Steven Fraser
-----Original Message----- From: Zhang Yining [mailto:[EMAIL PROTECTED]] Sent: 20 April 2002 01:41 To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Abstract classes I don't think that strategy pattern mandates the use of interface and not abstract classes. However, as we know, abstract classes can have implementation code within it, but interfaces can only define method signatures, so a good thing about using abstract classes is that we can use another pattern namely Template Method to define the skeleton of the algorithm in the abstract class. Just my 2 cents. Zhang Yining :-) Software Engineer eXtropia.com -----Original Message----- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Steven Fraser Sent: Friday, April 19, 2002 1:06 AM To: [EMAIL PROTECTED] Subject: [DOTNET] Abstract classes What is the difference between using an abstract class and using an interface class? If I'm designing a strategy pattern why does the strategy class have to be abstract and not an interface class. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. ______________________________________________________________ CONFIDENTIALITY NOTICE This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you are not the intended recipient, please contact us immediately. The contents of any attachments in this e-mail may contain software viruses, which could damage your own computer system. While Marlborough Stirling has taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checking procedure before opening any attachment. Marlborough Stirling plc, Registered No. 3008820, Allen Jones House, Jessop Avenue, Cheltenham, Gloucestershire, GL50 3SH Tel: 01242 547000 Fax: 01242 547100 http://www.marlborough-stirling.com The following companies are subsidiaries of Marlborough Stirling plc and are registered in England and Wales at the above address: Marlborough Stirling PLC, Registered No. 3008820 The Marlborough Stirling Group PLC, Registered No. 1855353 Marlborough Stirling Administration Limited, Registered No. 2341195 Metgem Limited, Registered No. 02341195 You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.