/* * Differences :: * ---------------------------------------------------------------------- * 1. Abstract class can have implementation for Some of it memmers. But Interface can't have implementation for any of its member. * 2. Abstract can have fields (int, bool, etc.) whereas Interface can't have. * 3. Abstract class inherit from other abstract class or interface. But Interface can inherit from other interfce only and can't from bastract class. * 4. A class can inherit from multiple interface at the same time, where as a class cannot inherit from multiple classes at the same time. * 5. Abstract class members can have access modifires where as interface members can not have. * 6. Abstract class can't be instanciated. * 7. An abstract class cannot be inherited by structures. */ static void Main(string[] args) { A1 a = new Program(); a.Print(); S6 s = new S6(); s.Interface(); I6 i = new S6(); i.Interface(); Console.ReadKey(); }