Course 1 - NET Internals
Course 1 - NET Internals
class Calc
{
public int Add(int x, int y)
{ return x + y; }
}
CTS Interface Types
• Interfaces – a named collection of abstract
member definitions, which may be supported
(i.e., implemented) by a given class or
structure.
• In C#, interfaces are defined using the
interface keyword:
?
? ? ?
?
? ? ? ?
?
? ?
?
?
? ?
Thank you!