Files
BasicProgramming/MethodDisplayer/Program.cs

24 lines
569 B
C#

using MethodLibrary;
namespace MethodDisplayer
{
public class Program
{
static void Main(string[] args)
{
var methodCollections = new List<IMethodCollection>
{
new Basic(),
new Statement(),
new Loops(),
new Strings()
};
foreach (var method in methodCollections)
{
Console.WriteLine($"====== {method.GetType().Name} ======");
method.DisplayAllMethods();
}
}
}
}