ICatExtension Class

Definition

It's the class that contains ICat interface's extension method.

This class must be public and static.

Also it shouldn't be a geneic class

public static class ICatExtension
Inheritance
ICatExtension

Methods

Play(ICat, String)

Extension method to let cat play

Sleep(ICat, Int64)

Extension method hint that how long the cat can sleep.

Applies to