摘要:
using System; using System.Speech.Synthesis; namespace testvoice { class Program { static void Main(string[] args) { SpeechSynthesizer synth = new SpeechSynthesiz... 阅读全文
摘要:
面向对象设计的目标之一在于支持可维护性复用,一方面需要实现设计方案或者源码的重用,另一方面要确保系统能够易于扩展和修改,具有较好的灵活性。 常用的设计原则有七个原则: 一、单一职责原则(single responsibility principle,SPR) There should never b 阅读全文