Adding Method Displayer, and renaming projects
This commit is contained in:
24
MethodDisplayer/Program.cs
Normal file
24
MethodDisplayer/Program.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user