For example, let's say you had a method that logged a user in. Without exceptions you could write it like this: public bool LogInUser(string username, string .