/*
1. Implement IDog and ICat interface in the Animal class.
2. In the IDog implementation, write a line to the console with text "Called from IDog interface: " + speed
3. In the ICat implementation, write a line to the console with text "Called from ICat interface: " + speed
4. In Main, instantiate a single instance of the Animal class and call each Walk method with a different value
Bonus:
1. Create an extension that accepts a generic IEnumerable and returns sorted results
2. Create an integer array and use the extension to write out to the console a comma separated string of the ordered results
3. Create a string array and use the extension to write out to the console a comma separated string of the ordered results
*/
using System;
public class Program
{
public static void Main()
Console.WriteLine("Hello World");
}
public interface IDog
void Walk(int speed);
public interface ICat
public class Animal