Simple Beginner Question about Interfaces

N

needin4mation

I am looking for a good book on C# that has what an interface is and
how to use it. In my local library they have a lot of Java books. Is
an interface a C# thing or an OOP thing? So that if I read about the
principles in Java, it would be applicable to C# programming, minus
perhaps syntax? Thanks.
 
M

Mattias Sjögren

So that if I read about the
principles in Java, it would be applicable to C# programming, minus
perhaps syntax?


Yes, interfaces are roughly the same in both languages.


Mattias
 
N

Nicholas Paldino [.NET/C# MVP]

For the most part, yes. Interfaces are an OO concept, not necessarily
one that is attributed solely to C# or .NET. Any books on Java interfaces
are probably going to give you the same basic information/concepts.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top