App
-
C#运算符重载
using System; namespace OperatorOvlApplication { class Box { private double length; // Len…
-
C#抽象与虚拟动态多态
using System; namespace PolymorphismApplication { class Shape { protected int width, heigh…
-
C#动态多态性
using System; namespace PolymorphismApplication { abstract class Shape { public abstract i…
-
C#函数重载
using System; namespace PolymorphismApplication { class Printdata { void print(int i) { Co…
-
C#多重继承
using System; namespace InheritanceApplication { class Shape { public void setWidth(int w)…
-
C#初始化基类
using System; namespace RectangleApplication { class Rectangle { //member variables protec…
-
C#继承基类和派生类
using System; namespace InheritanceApplication { class Shape { public void setWidth(int w)…
-
C#静态函数
using System; namespace StaticVarApplication { class StaticVar { public static int num; pu…
-
C#类的静态成员
using System; namespace StaticVarApplication { class StaticVar { public static int num; pu…
-
C#析构函数
using System; namespace LineApplication { class Line { private double length; // Length of…