Created
April 2, 2013 06:07
-
-
Save Konard/5290238 to your computer and use it in GitHub Desktop.
Do what you do until result is expected otherwise analyze unexpected result. (Делай то, что ты делаешь, до тех пор пока результат соответствует твоим ожиданиям. Если получен неожиданный результат - задумайся.)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace Console | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
dynamic context = null; | |
Action<object> Action = (x => { return; }); | |
Action<object> Analyze = (x => { return; }); | |
do | |
{ | |
do | |
{ | |
Action(context); | |
} | |
while (context.IsExpected); | |
Analyze(context); | |
} | |
while (true); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment