Back to list
Views:   10.6K
Replies:  2

C# Programming Interface questions

1) What is true about interfaces in C#
A) an interface cannot extends another interfaceB) an interface can extends a classC) a class can implements interface.D) interface data member are private.
Rajesh Dhnashire, Jul 04, 2014
Reply 1
An Interface is a reference type and it contains only abstract members such as Events, Methods, Properties etc. It contain only declaration for its members and implementation defined as separate entities from classes. It can't contain constants, data fields, constructors, destructors and static members and all the member declarations inside interface are implicitly public. More about....Interface

Lynda Eldo, Mar 19, 2015
Reply 2
C) a class can implements interface.
Rajesh Dhnashire, Jul 04, 2014

Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas.      Vsn 1.3.0