Email整体项目 Email类using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Service;namespace Email
{public class email:Ifiles{public void GetEmail() {Console.WriteLine("发送邮件了");}}
} using System;
us
抽象工厂模式:通过对类的工厂抽象使其业务用于对产品类簇的创建,而不负责创建某一类产品的实例。 抽象类 //测试抽象类,使用其实例方法时会抛出错误
var test = function(){};
test.prototype = {getFirst:function(){return new Error('抽象