Defer() public method

public Defer ( ) : void
return void
コード例 #1
0
 static void Main(string[] args)
 {
     var bug = new Bug("The bug of bugs");
     bug.Assign("Tom");
     bug.Defer();
     bug.Assign("Ivan");
     bug.Assign("Adam");
     bug.Close();
     Console.WriteLine("All done");
 }