To simplify this example, we'll just add a new class whose methods return some simple data.
为了简化这个示例,我们添加了一个新类,它的方法返回一些简单数据。
Or worse, imagine that you're writing a program, and as you're building it you add a new class to your library that conflicts with the name of an existing class.
或者更糟,假设我们准备写一个程序,但在创建它的时候,却向自己的库加入了一个新类,它与现有某个类的名字发生了冲突。
Add a new class called Forum and click Finished.
向类图中增加一个新类,名为Forum,然后单击Finished。
Add a new class to the project. Accept the default name "Class1.cs".
添加一个新类到项目中,使用默认的名称“Class1 . cs ”。
Add a new class to the project. Accept the default name "Class1.cs".
添加一个新类到项目中,使用默认的名称“Class1 . cs ”。
应用推荐