Current .Net Version: 1.1.4322
Home
Articles
Practice C# Online
C# Reference
XML Web Services
RSS Feeds
T-SQL Scripts
Videos
Valuable Links
Contact Us
Mike's C#, VS.NET and SQL Blog
ROR XML Info.
C# Reference
The world's largest C# Language & Framework Class Library Reference Database (second only to Microsoft's)!
Language Reference:
Language Search:
Framework Class Library Reference:
Framework Class Library Search:

interface
Is a:Type Keyword
Applies to Version:C# 1.0 and later
Namespace:System
Assembly:Mscorlib (Mscorlib.dll)
Description:Declares a reference type that defines abstract members.
Syntax:
[attributes] [modifiers] interface identifier [:base-list] {interface-body}[;]
Example(s):public interface ITest { int GetInt(); } // this class MUST implement the abstract memebers of the ITest interface public class Test : ITest { public int GetInt() { return 1; } }
 
COPYRIGHT/DISCLAIMER | CONTACT US