| Title | Open | |||
|---|---|---|---|---|
| 687 | Implement a Simple InterfaceThe interface IGreeter declares a Greet() method. | easy | Not started | Solve |
| 688 | Interface Method With ParametersThe interface ICalculator declares int Add(int a, int b). | easy | Not started | Solve |
| 689 | Interface With a Read-Only PropertyThe interface INamed declares a read-only property string Name { get; }. | easy | Not started | Solve |
| 690 | Void Method and State in an InterfaceThe interface ICounter declares a Value property and a void Increment() method. | easy | Not started | Solve |
| 691 | An Interface With Multiple MethodsThe interface IMathOps declares both Add and Subtract. | easy | Not started | Solve |
| 692 | Compute Area Through an InterfaceThe interface IShape declares double Area(). | easy | Not started | Solve |
| 693 | Interface Method Returning a BooleanThe interface INumberChecker declares bool IsEven(int n). | easy | Not started | Solve |
| 694 | Build a Formatted DescriptionThe interface IProduct declares string Describe(). | easy | Not started | Solve |
| 695 | A Temperature Converter InterfaceThe interface IConverter declares int ToFahrenheit(int celsius). | easy | Not started | Solve |
| 696 | Properties and a Method TogetherThe interface IRectangle declares two read-only properties, Width and Height, plus an Area() method. | easy | Not started | Solve |
| 697 | Polymorphism With a List of InterfacesThe interface IAnimal declares string Speak(). | easy | Not started | Solve |
| 698 | Use a Method Argument in an InterfaceThe interface IWelcomer declares string Welcome(string name). | easy | Not started | Solve |
| 699 | Model a Bank Account With an InterfaceThe interface IBankAccount declares a Balance property and a Deposit(int amount) method. | easy | Not started | Solve |
| 712 | Implement a Greeter InterfaceThe IGreeter interface is already declared with one method, Greet. | easy | Not started | Solve |
| 713 | Read-Only Interface PropertyThe IPerson interface requires a read-only Name property. | easy | Not started | Solve |
| 714 | Implement an Interface Method That Changes StateThe ICounter interface requires a Count property and an Increment method. | easy | Not started | Solve |
| 715 | Polymorphism With an InterfaceThe IAnimal interface declares string Speak(). | easy | Not started | Solve |
| 716 | Accept an Interface as a ParameterThe IMessage interface declares string GetText(), and the Hello class already returns Hello from it. | easy | Not started | Solve |
| 717 | Check the Interface Type With isComplete the Inspector.Describe method so it returns chargeable when the given object implements the IChargeable interface and not chargeable otherwise. | easy | Not started | Solve |
| 718 | Implement a Property With a Private SetterThe IBankAccount interface requires a read-only Balance property and a Deposit method. | easy | Not started | Solve |
| 719 | Interface Method Returning a Formatted StringThe IMovable interface declares string Move(int distance). | easy | Not started | Solve |
| 720 | Implement Several Interface MethodsThe ILight interface has a IsOn property and TurnOn/TurnOff methods. | easy | Not started | Solve |
| 721 | Computed Property From an InterfaceThe IShape interface requires a read-only Area property. | easy | Not started | Solve |
| 722 | Boolean-Returning Interface MethodThe IValidator interface declares bool IsValid(string input). | easy | Not started | Solve |
| 786 | Implement IDisposable to Release a ResourceComplete the Logger class so that it implements the IDisposable interface. | easy | Not started | Solve |
| 787 | Clone an Object With ICloneableComplete the Point class so that it implements the ICloneable interface. | easy | Not started | Solve |
| 700 | Implement Two InterfacesA class can implement more than one interface. | medium | Not started | Solve |
| 701 | Interface InheritanceOne interface can extend another. | medium | Not started | Solve |
| 702 | Sum Areas Through an InterfaceThe interface IShape declares double Area(). | medium | Not started | Solve |
| 703 | Test for an Interface With `is`Complete the static method ShapeInspector.Describe(object item). | medium | Not started | Solve |
| 704 | A Factory That Returns an InterfaceComplete the static method ShapeFactory.Create(string kind). | medium | Not started | Solve |
| 705 | Sorting With IComparableThe Book class implements IComparable<Book>. | medium | Not started | Solve |
| 706 | Value Equality With IEquatableThe Point class implements IEquatable<Point>. | medium | Not started | Solve |
| 707 | Swappable Behavior With an InterfaceThe interface IDiscount declares int Apply(int price). | medium | Not started | Solve |
| 723 | Aggregate Over a List of Interface ValuesThe IPriced interface declares int Price(), and the Coffee (3) and Cake (5) classes already implement it. | medium | Not started | Solve |
| 724 | Interface That Inherits Another InterfaceIShape inherits from IDrawable: IDrawable declares Draw() and IShape adds Area(). | medium | Not started | Solve |
| 725 | Sort Objects With IComparableThe Box class stores a Volume and implements IComparable<Box>. | medium | Not started | Solve |
| 726 | Use a Default Interface MethodThe INamed interface declares GetName() and provides a DEFAULT implementation of Greet() that returns Hello, followed by the name. | medium | Not started | Solve |
| 727 | Custom Sort Order With IComparerWrite a DescendingComparer class that implements IComparer<int> so its Compare method orders numbers from largest to smallest. | medium | Not started | Solve |
| 728 | Strategy Pattern With an InterfaceThe IOperation interface declares int Apply(int a, int b). | medium | Not started | Solve |
| 788 | Fluent Interface Returning the Same TypeComplete the PathBuilder class so that it implements the IPathBuilder interface. | medium | Not started | Solve |
| 708 | Default Interface MethodC# interfaces can provide a DEFAULT method body. | hard | Not started | Solve |
| 709 | Explicit Interface ImplementationIEnglish and ISpanish each declare a method named Hello(). | hard | Not started | Solve |
| 710 | A Generic InterfaceInterfaces can be generic. | hard | Not started | Solve |
| 711 | Generic Method Constrained to an InterfaceComplete the generic method MathUtil.Max<T> with the constraint where T : IComparable<T>. | hard | Not started | Solve |
| 729 | Implement IEnumerable With yieldWrite a Countdown class that implements IEnumerable<int>. | hard | Not started | Solve |
| 730 | Implement a Generic InterfaceThe generic interface IContainer<T> declares Add(T item), Get(int index), and a Count property. | hard | Not started | Solve |
| 731 | Interface With an IndexerThe IWordBank interface declares a read-only indexer this[int index] and a Count property. | hard | Not started | Solve |
| 732 | Factory Method Returning an InterfaceThe IShape interface declares string Name(), and the Circle (returns circle) and Square (returns square) classes implement it. | hard | Not started | Solve |
| 789 | Covariant Generic InterfaceMake the generic interface IProducer<T> covariant and complete StringProducer. | hard | Not started | Solve |