C#???????????????
???????????? ???????[ 2015/4/8 13:16:14 ] ????????C# ??????? ???
????2??C#?н??????????:
???????????C#?н???????????????????????ó?????????????£????????????????????
??????????????????????????VB??????????????VBд?????????????clsVBProgramer?????????Delphi????????????Delphiд?????????????clsDelphiProgramer??????????????????????WriteCode()?????????????£?
????class clsVBProgramer()
????{
????....
????WriteCode()
????{
????//??VB????д????
????}
????....
????}
????class clsDelphiProgramer()
????{
????....
????WriteCode()
????{
????//??Delphi????д????
????}
????....
????}
???????????????????????????????????д???????
????class clsProject()
????{
????....
????WritePrograme(clsVBProgramer programer)//??VBд????
????{
????programer.WriteCode();
????}
????WritePrograme(clsDelphiProgramer programer)//???????????Delphiд????
????{
????programer.WriteCode();
????}
????......
????}
?????????????????????????д??
????main()
????{
????clsProject proj=new clsProject;
????//????????VBд????
????clsVBProgramer programer1=new clsVBProgramer;
????proj.WritePrograme(programer1);
????//????????Delphiд????
????clsDelphiProgramer programer2=new clsDelphiProgramer;
????proj.WritePrograme(programer2);
????}
??????????????????????????C#??????????????????γ??????????????C#д?????????????????????????????clsCSharpProgramer???????clsProject???????????????WritePrograme??clsCSharpProgramer programer?????????????鷳????????????C???????C++???????JAVA?????????鷳?????
??????????????y??????????????
????????????????????????
????interface IProgramer()
????{
????WriteCode();
????}
??????????????????????IProgramer????
class clsVBProgramer():IProgramer
{
....
WriteCode()
{
//??VB????д????
}
....
}
class clsDelphiProgramer():IProgramer
{
....
WriteCode()
{
//??Delphi????д????
}
....
}
??????clsProject???????????????
class clsProject()
{
....
WritePrograme(IProgramer programer)
{
programer.WriteCode();//д????
}
......
}
main()
{
clsProject proj=new clsProject;
IProgramer programer;
//????????VBд????
programer=new clsVBProgramer;
proj.WritePrograme(programer);
//????????Delphiд????
programer=new clsDelphiProgramer;
proj.WritePrograme(programer);
}
???????????C#??C??C++??JAVA??????????????????????????????????????????????????main()?????????OK??????????????
?????????????????clsProject???????????????????????????????????書??????????????????????С?????????????????????ò??????????????????????????????????
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????
???????C#?е?StringC# Socket???????????????????C#?????????????????????????C#???????C#????????????Log4net??????δ????C#?????????????C#?????????????????C#???????????????C#????????????????C#7 ?е?Tuple??????C#??TypeScript - GeneratorC# ?????????細??????????C#?е???н???C#??MySQL?????????μ??Ч?????д??C#????C++??dll???C#??VS2010????е??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11????????
?????????App Bug???????????????????????Jmeter?????????QC??????APP????????????????app?????е????????jenkins+testng+ant+webdriver??????????????JMeter????HTTP???????Selenium 2.0 WebDriver ??????