204
Console.WriteLine("The cargo could not be delivered. The return process has been initiated.");
1
using System;
2
3
public class Program
4
{
5
public static void Main()
6
{
7
var shipment = new Shipment(Guid.NewGuid(), "RU", "Istanbul");
8
shipment.ToInTransit();
9
shipment.ToInCustoms();
10
shipment.ToCustomsCleared();
11
shipment.ToOutForDelivery();
12
shipment.ToNotDelivered();
13
shipment.ToDelivered();
14
15
Console.WriteLine("-----------------------------------------------------------------");
16
17
var shipment1 = new Shipment(Guid.NewGuid(), "TR", "Istanbul");
18
shipment1.ToInTransit();
19
shipment1.ToInCustoms();
20
shipment1.ToCustomsCleared();
21
shipment1.ToOutForDelivery();
22
shipment1.ToNotDelivered();
23
shipment1.ToDelivered();
24
}
Cached Result
https://www.technologycrowds.com/favicon.ico