随笔分类 -  C#

C#使用蜂鸣器发音
摘要:突然来的想法,c#控制蜂鸣器发音,查了查写了个简单的demo界面:textbox;button;添加引用:using System.Runtime.InteropServices;代码:using System.Runtime.InteropServices;namespace beep{ p... 阅读全文

posted @ 2015-04-03 14:17 geekjames 阅读(3165) 评论(0) 推荐(1)

用Array类的Sort,Reverse方法对数组进行排序
摘要:Array.Reverse是反向输出数组;Array.Sort是对数组进行排序;小例子: class Program { static void Main(string[] args) { int[] arr1 = new int[] { 1... 阅读全文

posted @ 2015-04-02 15:00 geekjames 阅读(367) 评论(0) 推荐(0)

导航