C# more than one interface like in Java

0 votes
asked Apr 9, 2015 in Programming by Wizard81 Student (240 points)

I can program in Java and I am learning c# right now

I want to know how could I implement more than one interface in a class?

1 Answer

+1 vote
answered Apr 10, 2015 by Bugstacker Senior (4,800 points)
selected Apr 11, 2015 by Wizard81
Best answer

Just separate them by commas:

public class Book : IBook, IReadable


Welcome to Bugstacker Q&A, where you can ask questions concerning Game Development, Programming and Design and receive answers from other members of the community.

Help for