delegate——委派
摘要:1usingSystem;2namespaceuu3{4publicclassDelegates5{6publicstaticvoidMain()7{8longlength;9longwidth;10longheight;11Console.Write("请输入长度:");12length=long.Parse(Console.ReadLine());13Console.Write("请输入宽度"...
阅读全文
posted @
2007-09-10 20:44
symjie
阅读(382)
推荐(0)
c#冒泡程序
摘要:今天看了一下数据结构(c),突然有一种冲动,想写一下c#的一些算法和数据结构的文章,就从今天开始吧。 今天的第一个内容是c#冒泡程序。 1using System; 2namespace ma 3{ 4 public class po 5 { 6 int i; 7 int temp; 8 int j; 9 public voi...
阅读全文
posted @
2006-10-02 12:53
symjie
阅读(1604)
推荐(0)
第一个c#程序
摘要:using System;class Welcome{ static void Main() { Console.WriteLine("Please enter your name"); Console.ReadLine(); Console.WriteLine("Welcome to you"); }}然后编译运行,这时我的一个C#程序,虽然简单点,但很...
阅读全文
posted @
2006-07-01 23:18
symjie
阅读(451)
推荐(0)