using System; using System.Collections.Generic; using System.Text; namespace CSharpAbstractionDemo { class CloseRobotHandAction : IAction { // Attributes private bool _done; // Constructors public CloseRobotHandAction() { _done = false; } // Properties // Methods public void DoIt() { Console.WriteLine("Close hand"); _done = true; } public bool IsDone() { return _done; } public void SetupConfig() { Console.WriteLine("Place hand around object"); } } }