diff --git a/step182-IQuit/.vs/step182-IQuit/v16/.suo b/step182-IQuit/.vs/step182-IQuit/v16/.suo index 796dcb9..7204949 100644 Binary files a/step182-IQuit/.vs/step182-IQuit/v16/.suo and b/step182-IQuit/.vs/step182-IQuit/v16/.suo differ diff --git a/step182-IQuit/Employee.cs b/step182-IQuit/Employee.cs index e8cbcc4..be3d3f9 100644 --- a/step182-IQuit/Employee.cs +++ b/step182-IQuit/Employee.cs @@ -16,7 +16,7 @@ public override void SayName() } public void Quit() { - string iQuit = "has Quit"; + string iQuit = $"{firstName} {lastName} has Quit"; Console.WriteLine(iQuit); } } diff --git a/step182-IQuit/Program.cs b/step182-IQuit/Program.cs index a6578c7..4241b52 100644 --- a/step182-IQuit/Program.cs +++ b/step182-IQuit/Program.cs @@ -10,8 +10,9 @@ class Program { static void Main(string[] args) { - Employee iQuite = new Employee() {firstName = "Jonthue", lastName = "Michel" }; - iQuite.SayName(); iQuite.Quit(); + IQuittable iQuite = new Employee() { firstName = "Jonthue", lastName = "Michel" }; + + iQuite.Quit(); Console.ReadLine(); } diff --git a/step182-IQuit/bin/Debug/step182-IQuit.exe b/step182-IQuit/bin/Debug/step182-IQuit.exe index f0d7cd2..8f8eb3a 100644 Binary files a/step182-IQuit/bin/Debug/step182-IQuit.exe and b/step182-IQuit/bin/Debug/step182-IQuit.exe differ diff --git a/step182-IQuit/bin/Debug/step182-IQuit.pdb b/step182-IQuit/bin/Debug/step182-IQuit.pdb index 8ef9e3a..7a94320 100644 Binary files a/step182-IQuit/bin/Debug/step182-IQuit.pdb and b/step182-IQuit/bin/Debug/step182-IQuit.pdb differ diff --git a/step182-IQuit/obj/Debug/step182-IQuit.csprojAssemblyReference.cache b/step182-IQuit/obj/Debug/step182-IQuit.csprojAssemblyReference.cache index 8b2ee19..aeb41d6 100644 Binary files a/step182-IQuit/obj/Debug/step182-IQuit.csprojAssemblyReference.cache and b/step182-IQuit/obj/Debug/step182-IQuit.csprojAssemblyReference.cache differ diff --git a/step182-IQuit/obj/Debug/step182-IQuit.exe b/step182-IQuit/obj/Debug/step182-IQuit.exe index f0d7cd2..8f8eb3a 100644 Binary files a/step182-IQuit/obj/Debug/step182-IQuit.exe and b/step182-IQuit/obj/Debug/step182-IQuit.exe differ diff --git a/step182-IQuit/obj/Debug/step182-IQuit.pdb b/step182-IQuit/obj/Debug/step182-IQuit.pdb index 8ef9e3a..7a94320 100644 Binary files a/step182-IQuit/obj/Debug/step182-IQuit.pdb and b/step182-IQuit/obj/Debug/step182-IQuit.pdb differ