本文转载:http://www.cnblogs.com/iamlilinfeng/archive/2012/08/29/2662740.html 一、类继承 1 public class Father 2 { 3 } 4 public class Child:Father 5 { 6 } 二、接口继承 1 public interface IBreath { } 2 public interface IRun...
tho,which is disappointing.The last tool I found was a Visual Studio add-in called Flow Chart 4 C#.This tool generates a flow chart – not a UML activity diagram – for a given code block.This isn’t exactly what I was ...
tho,which is disappointing.The last tool I found was a Visual Studio add-in called Flow Chart 4 C#.This tool generates a flow chart – not a UML activity diagram – for a given code block.This isn’t exactly what I was ...
【UML图】:人写字的UML图:机器造零件的UML图:【对应代码】:例1:人写字的代码(此处体现依赖的方式为:Pen是People中一个方法中的变量);class People { public void Write(){ Pen pen=new Pen();pen.Write();} } class Pen { public...