diff --git a/src/Tomas.Interface/IProgram.cs b/src/Tomas.Interface/IProgram.cs
index 0224a7b..ccdfb70 100644
--- a/src/Tomas.Interface/IProgram.cs
+++ b/src/Tomas.Interface/IProgram.cs
@@ -1,15 +1,14 @@
// I license this project under the BSD 3-Clause license.
// See the LICENSE file in the project root for more information.
-namespace Tomas.Interface
+namespace Tomas.Interface;
+
+public interface IProgram
{
- public interface IProgram
- {
- ///
- /// The program's main entry point. Boolean behaves as an exit point.
- /// True and False are the equivalent to C's 0 and 1, i.e. "Success" and "Failure," respectfully.
- ///
- /// Allows the program to interact with the shell.
- /// Exit back to shell.
- bool Run(IShell shell);
- }
+ ///
+ /// The program's main entry point. Boolean behaves as an exit point.
+ /// True and False are the equivalent to C's 0 and 1, i.e. "Success" and "Failure," respectfully.
+ ///
+ /// Allows the program to interact with the shell.
+ /// Exit back to shell.
+ bool Run(IShell shell);
}
\ No newline at end of file
diff --git a/src/Tomas.Interface/IShell.cs b/src/Tomas.Interface/IShell.cs
index 3df8068..fce577d 100644
--- a/src/Tomas.Interface/IShell.cs
+++ b/src/Tomas.Interface/IShell.cs
@@ -1,13 +1,11 @@
// I license this project under the BSD 3-Clause license.
// See the LICENSE file in the project root for more information.
-using System.Collections.Generic;
-namespace Tomas.Interface
+namespace Tomas.Interface;
+
+public interface IShell
{
- public interface IShell
- {
- string ReadLine { get; }
+ string ReadLine { get; }
- Dictionary Programs { get; }
- }
+ Dictionary Programs { get; }
}
\ No newline at end of file
diff --git a/src/Tomas.Interface/Tomas.Interface.csproj b/src/Tomas.Interface/Tomas.Interface.csproj
index 2756020..78c05ce 100644
--- a/src/Tomas.Interface/Tomas.Interface.csproj
+++ b/src/Tomas.Interface/Tomas.Interface.csproj
@@ -1,7 +1,8 @@
- netstandard2.0
+ net6.0
+ enable