public void Wrap(ToWrap function)
 {
     Console.WriteLine("Function started");
     function();
     Console.WriteLine("Function ended");
 }
 public void Wrap(ToWrap function)
 {
     function();
 }