diff --git a/README.md b/README.md
index cc3824d..5117b0a 100644
--- a/README.md
+++ b/README.md
@@ -8,18 +8,18 @@ a simple and customisable c# console menu system
// Setup the menu
ConsoleMenu mainMenu = new ConsoleMenu();
-ConsoleMenu subMenu1 = new ConsoleMenu("==>");
+Menu subMenu1 = new ("==>");
subMenu1.SubTitle = "---------------- Secret Menu -----------------";
-subMenu1.addMenuItem(0, "backToMain", subMenu1.hideMenu);
+subMenu1.AddMenuItem("backToMain", subMenu1.Back);
subMenu1.ParentMenu = mainMenu;
mainMenu.Header = headerText;
subMenu1.Header = mainMenu.Header;
mainMenu.SubTitle = "-------------------- Menu ----------------------";
-mainMenu.addMenuItem(0, "Hello World!", HelloWorld);
-mainMenu.addMenuItem(1, "Secret Menu", subMenu1.showMenu);
-mainMenu.addMenuItem(2, "Exit", Exit);
+mainMenu.AddMenuItem("Hello World!", HelloWorld);
+mainMenu.AddMenuItem("Secret Menu", subMenu1.ShowMenu);
+mainMenu.AddMenuItem("Exit", Exit);
// Display the menu
-mainMenu.showMenu();
+mainMenu.ShowMenu();
```
diff --git a/Sample/Program.cs b/Sample/Program.cs
new file mode 100644
index 0000000..ff94518
--- /dev/null
+++ b/Sample/Program.cs
@@ -0,0 +1,43 @@
+using SimpleConsoleMenu;
+
+string headerText = " __ __ _____ _ " +
+ Environment.NewLine + " | \\/ | / ____| | | " +
+ Environment.NewLine + " | \\ / | ___ _ __ _ _ | (___ _ _ ___| |_ ___ _ __ ___" +
+ Environment.NewLine + " | |\\/| |/ _ \\ '_ \\| | | | \\___ \\| | | / __| __/ _ \\ '_ ` _ \\" +
+ Environment.NewLine + " | | | | __/ | | | |_| | ____) | |_| \\__ \\ || __/ | | | | |" +
+ Environment.NewLine + " |_| |_|\\___|_| |_|\\__,_| |_____/ \\__, |___/\\__\\___|_| |_| |_|" +
+ Environment.NewLine + " __/ | " +
+ Environment.NewLine + " |___/ ";
+
+
+Console.Clear();
+
+// Setup the menu
+Menu mainMenu = new ();
+
+Menu subMenu1 = new ("==>");
+subMenu1.SubTitle = "---------------- Secret Menu -----------------";
+subMenu1.AddMenuItem("backToMain", subMenu1.Back);
+subMenu1.ParentMenu = mainMenu;
+
+mainMenu.Header = headerText;
+subMenu1.Header = mainMenu.Header;
+
+mainMenu.SubTitle = "-------------------- Menu ----------------------";
+mainMenu.AddMenuItem("Hello World!", HelloWorld);
+mainMenu.AddMenuItem("Secret Menu", subMenu1.ShowMenu);
+mainMenu.AddMenuItem("Exit", Exit);
+// Display the menu
+mainMenu.ShowMenu();
+
+
+static void Exit()
+{
+ Environment.Exit(0);
+}
+
+static void HelloWorld()
+{
+ Console.WriteLine("Hello World!");
+ Console.ReadKey(true);
+}
\ No newline at end of file
diff --git a/Sample/Sample.csproj b/Sample/Sample.csproj
new file mode 100644
index 0000000..52c6cbc
--- /dev/null
+++ b/Sample/Sample.csproj
@@ -0,0 +1,14 @@
+
+
+
+ Exe
+ net6.0
+ enable
+ enable
+
+
+
+
+
+
+
diff --git a/SimpleCMenu.sln b/SimpleCMenu.sln
index 0bafe94..edc2d46 100644
--- a/SimpleCMenu.sln
+++ b/SimpleCMenu.sln
@@ -1,9 +1,11 @@
Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 14
-VisualStudioVersion = 14.0.25123.0
+# Visual Studio Version 17
+VisualStudioVersion = 17.3.32819.101
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleCMenu", "SimpleCMenu\SimpleCMenu.csproj", "{15368273-1C43-4939-977F-0C198643CF42}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleConsoleMenu", "SimpleConsoleMenu\SimpleConsoleMenu.csproj", "{61FB74BD-D547-4B8E-BB15-C409F74DE782}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sample", "Sample\Sample.csproj", "{E687D971-7479-4F51-9C1E-FF6ED063B2DE}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -11,12 +13,19 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {15368273-1C43-4939-977F-0C198643CF42}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {15368273-1C43-4939-977F-0C198643CF42}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {15368273-1C43-4939-977F-0C198643CF42}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {15368273-1C43-4939-977F-0C198643CF42}.Release|Any CPU.Build.0 = Release|Any CPU
+ {61FB74BD-D547-4B8E-BB15-C409F74DE782}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {61FB74BD-D547-4B8E-BB15-C409F74DE782}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {61FB74BD-D547-4B8E-BB15-C409F74DE782}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {61FB74BD-D547-4B8E-BB15-C409F74DE782}.Release|Any CPU.Build.0 = Release|Any CPU
+ {E687D971-7479-4F51-9C1E-FF6ED063B2DE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E687D971-7479-4F51-9C1E-FF6ED063B2DE}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E687D971-7479-4F51-9C1E-FF6ED063B2DE}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E687D971-7479-4F51-9C1E-FF6ED063B2DE}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {76E8BADE-17FB-4DF9-A7C8-32438D9A06D5}
+ EndGlobalSection
EndGlobal
diff --git a/SimpleCMenu/App.config b/SimpleCMenu/App.config
deleted file mode 100644
index 88fa402..0000000
--- a/SimpleCMenu/App.config
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/SimpleCMenu/Menu/ConsoleMenu.cs b/SimpleCMenu/Menu/ConsoleMenu.cs
deleted file mode 100644
index 0859483..0000000
--- a/SimpleCMenu/Menu/ConsoleMenu.cs
+++ /dev/null
@@ -1,188 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-
-namespace SimpleCMenu.Menu
-{
- public class ConsoleMenu
- {
- #region Public var
-
- public ConsoleMenu ParentMenu { get; set; }
-
- public string Header { get; set; }
- public string SubTitle { get; set; }
- public string CursorText { get; set; }
- public ConsoleColor CursorColor { get; set; }
- public ConsoleColor HeaderColor { get; set; }
- public ConsoleColor ForeColor { get; set; }
- public ConsoleColor MenuItemColor { get; set; }
- public ConsoleColor SubTitleColor { get; set; }
-
- #endregion
-
- #region Private var
-
- private List