Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public string AwesomeBusinessOperation()
- {
- var firstPart = TakesALongTimeToProcess("Tons");
- var secondPart = TakesALongTimeToProcess(firstPart+" of ");
- var result = TakesALongTimeToProcess(secondPart+"money");
- return result;
- }
- private string TakesALongTimeToProcess(string word)
- {
- // This operation takes a while
- Thread.Sleep(1000);
- return word;
- }
Add Comment
Please, Sign In to add comment