首页 > 代码库 > 加的类

加的类

技术分享
 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

 

加的类