Hi Guys I just started learning some C# Coding and i was wondering how i would make an interface for a C# program. If this is a dumb question please dont be too cruel to me.

Recommended Answers

All 4 Replies

try to googling some example.

You are going to have to do this the hard and just learn by buying books on C# or taking a class on it at your local college. Also youtube offers some interesting tutorials on C#

Define "an interface for a C# program". I have to assume you don't mean an interface like IEnumerable, so I'm not sure what you mean.

Interface just contains the functions that are to be used in the class. Since C# does not support multiple inheritance interface is much used.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.