Solution 1:
System.InvalidOperationException
The exception that is thrown when a method call is invalid for the object's current state.
System.InvalidOperationException
The exception that is thrown when a method call is invalid for the object's current state.