title: C# - how to make a sequence of method calls atomic?
body: <p>I have to make a sequence of method calls in C# such that, if one of them fails, the subsequent methods should not be called. In short, the set of calls should be made atomic. How do I achieve this in C#?</p>