基类

 1 using System;
 2 using System.Collections.Generic;
 3 using System.Linq;
 4 using System.Text;
 5 using System.Threading.Tasks;
 6 
 7 namespace jj4
 8 {
 9    public class OpertionAdd:Operation
10     {
11        public override double GetResult() 
12        {
13            double result = NumberA + NumberB;
14            return result;
15        }
16     }
17 }
View Code

 

posted @ 2017-04-10 23:58  南城。  阅读(93)  评论(0)    收藏  举报