menting IBasicMath now has a Subtract() method, implemented in this manner.” As before, all the
basic
rules apply, therefore the namespace defining MyCalc must
have access to the namespace
defining MathExtensions. Consider the following Main() method:
static void Main(string[] args)
{
Console.WriteLine("***** Extending an interface *****\n");
Do'stlaringiz bilan baham: