Solved

What is an "INTERFACE CLASS" in VB.NET / C# ?

Posted on 2009-05-17
6
308 Views
Last Modified: 2013-12-17
Hi,

I know what is "INTERFACE" in VB.NET / C#. Can you please explain to me this new term - "INTERFACE CLASS" in VB.NET / C# ? Please provide me simple examples so that i can understand the basic concept better !

Thanks
0
Comment
Question by:milani_lucie
  • 3
  • 2
6 Comments
 
LVL 11

Assisted Solution

by:srikanthreddyn143
srikanthreddyn143 earned 100 total points
ID: 24408559
0
 
LVL 5

Accepted Solution

by:
Aanvik earned 400 total points
ID: 24408666
Its actually termed as class interface... more details here.
http://msdn.microsoft.com/en-us/library/4fcadw4a(VS.71).aspx

This will tell you difference between class and interface.. so you have more idea about it,
http://geekswithblogs.net/mahesh/archive/2006/07/05/84120.aspx
0
 

Author Comment

by:milani_lucie
ID: 24408695
Aanvik:

Can you please explain to me in simple terms ? I have followed this URL : http://msdn.microsoft.com/en-us/library/4fcadw4a(VS.71).aspx but never undesrstood what does it mean.

Appreciate your time and patience !

Thanks
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 5

Assisted Solution

by:Aanvik
Aanvik earned 400 total points
ID: 24408707
0
 

Author Comment

by:milani_lucie
ID: 24408726
This is called an INTERFACE but not a CLASS INTERFACE. Please provide simple example on CLASS INTERFACE.

Thanks
0
 
LVL 5

Assisted Solution

by:Aanvik
Aanvik earned 400 total points
ID: 24408870
An interface class can contain declarations for functions, events, and properties. All interface members have public accessibility. An interface can also contain static data members, functions, events, and properties, and these static members must be defined in the interface.

An interface class defines how a class may be implemented. An interface is not a class and classes can only implement interfaces. When a class defines a function declared in an interface, the function is implemented, not overridden. Therefore, name lookup does not include interface members.

A class or struct that derives from an interface must implement all members of the interface. When implementing interface name you must also implement the interfaces in the base_interface list.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now