摘要:
C#运算符重载 //运算符重载使自定义类型和结构体对象可以与其他类型进行运算 运算符重载的实现 实例: class Point { public Point(int x,int y) { this.x = x; this.y = y; } public Point() { } public int 阅读全文
摘要:
1、遍历排序的方法 1、冒泡排序法 冒泡排序的思想是: 两两比较相邻记录的关键码,如果反序则交换,直到没有反序的记录为止。 代码如下: using System;using System.Collections;namespace system2{ class Program { static v 阅读全文