# Interface

*noun*

say it: **“IN-ter-fays”** **/ˈɪntərfeɪs/**

A C# type, usually named with an I, that lists members a class promises to provide.

## What is **Interface** in C#?

**Interface** — A contract describing behavior that implementing classes agree to provide.

```csharp
interface IPrintable
{
    string Format()
    {
        return "Ready";
    }
}

class Ticket : IPrintable
{
}
```

## In a sentence

- “IShippable is an **interface**, and Book and Lamp both implement it.”

Level: Journeyman · [More C# terms at this level](https://www.ask-codey.com/glossary?category=c-sharp&level=3)

Updated: November 9, 2026

## In other subjects

- [Interface in Java](https://www.ask-codey.com/glossary/interface)
- [Interface in OOP](https://www.ask-codey.com/glossary/interface-oop)

Source: https://www.ask-codey.com/glossary/interface-c-sharp
