diff --git a/FluentInterfaceExample/Program.cs b/FluentInterfaceExample/Program.cs index 2ba0859..4ca9344 100644 --- a/FluentInterfaceExample/Program.cs +++ b/FluentInterfaceExample/Program.cs @@ -36,7 +36,7 @@ static void Main(string[] args) Character hero = builder.Value(); // Put our hero to battle against endless enemies, and see how long he survives! - while (hero.IsAlive) + do { // Build an enemy with the expression builder. builder.Create(CommonHelper.GenerateRandomName()) @@ -56,7 +56,7 @@ static void Main(string[] args) // Battle time! CommonHelper.Battle(hero, enemy); - } + } while (hero.IsAlive); Console.ReadKey(); } diff --git a/FluentInterfaceExample/bin/Debug/FluentInterfaceExample.vshost.exe b/FluentInterfaceExample/bin/Debug/FluentInterfaceExample.vshost.exe new file mode 100644 index 0000000..bb84a51 Binary files /dev/null and b/FluentInterfaceExample/bin/Debug/FluentInterfaceExample.vshost.exe differ diff --git a/FluentInterfaceExample/bin/Debug/FluentInterfaceExample.vshost.exe.manifest b/FluentInterfaceExample/bin/Debug/FluentInterfaceExample.vshost.exe.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/FluentInterfaceExample/bin/Debug/FluentInterfaceExample.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + +