加的类

Posted 南城。

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了加的类相关的知识,希望对你有一定的参考价值。

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

 

以上是关于加的类的主要内容,如果未能解决你的问题,请参考以下文章