diff --git a/docs/csharp/advanced-topics/interface-implementation/snippets/default-interface-members-versions/finished/customer-relationship/ICustomer.cs b/docs/csharp/advanced-topics/interface-implementation/snippets/default-interface-members-versions/finished/customer-relationship/ICustomer.cs index 4f02e70810deb..ff32268b3d056 100644 --- a/docs/csharp/advanced-topics/interface-implementation/snippets/default-interface-members-versions/finished/customer-relationship/ICustomer.cs +++ b/docs/csharp/advanced-topics/interface-implementation/snippets/default-interface-members-versions/finished/customer-relationship/ICustomer.cs @@ -11,6 +11,7 @@ public interface ICustomer /* // + // This method belongs in the ICustomer interface (ICustomer.cs). // Version 1: public decimal ComputeLoyaltyDiscount() { @@ -26,6 +27,7 @@ public decimal ComputeLoyaltyDiscount() /* // + // These methods belong in the ICustomer interface (ICustomer.cs). // Version 2: public static void SetLoyaltyThresholds( TimeSpan ago, @@ -65,6 +67,7 @@ public static void SetLoyaltyThresholds(TimeSpan ago, int minimumOrders, decimal private static decimal discountPercent = 0.10m; // + // These methods belong in the ICustomer interface (ICustomer.cs). public decimal ComputeLoyaltyDiscount() => DefaultLoyaltyDiscount(this); protected static decimal DefaultLoyaltyDiscount(ICustomer c) { diff --git a/docs/csharp/advanced-topics/interface-implementation/snippets/default-interface-members-versions/finished/customer-relationship/SampleCustomer.cs b/docs/csharp/advanced-topics/interface-implementation/snippets/default-interface-members-versions/finished/customer-relationship/SampleCustomer.cs index 93092ce33dcaf..e014a3e920769 100644 --- a/docs/csharp/advanced-topics/interface-implementation/snippets/default-interface-members-versions/finished/customer-relationship/SampleCustomer.cs +++ b/docs/csharp/advanced-topics/interface-implementation/snippets/default-interface-members-versions/finished/customer-relationship/SampleCustomer.cs @@ -26,6 +26,7 @@ public void AddOrder(IOrder order) } // + // This method belongs in the SampleCustomer class (SampleCustomer.cs) that implements ICustomer. public decimal ComputeLoyaltyDiscount() { if (PreviousOrders.Any() == false)