6.5.2析构函数
摘要:
作用:用于收回函数所占用的储存空间.例:class Program{ public class TPoint2 { int x,y; public TPoint2(int x1,int y1) { x=x1; y=y1; } ~TPoint2() { Console.WriteLine("点=>({0},{1})",x,y); Console.... 阅读全文
posted @ 2013-01-25 17:04 msony210 阅读(113) 评论(0) 推荐(0)
浙公网安备 33010602011771号