上一页 1 ··· 39 40 41 42 43 44 45 46 47 ··· 63 下一页
摘要: usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Linq;usingSystem.Text;usingSystem.Windows.Forms; namespaceWindowsFormsApplication2{publicpartialclassForm1:Form{privateList<string>listNames=newList<string>();publicFor 阅读全文
posted @ 2013-05-04 00:02 Predator 阅读(5045) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Linq;using System.Runtime.InteropServices;namespace ConTest{ class Program { static void Main(string[] args) { Implement im = new Implement(); im.IAnimalEat(); im.IAnimalWalk(); im.IManagerSleep(); im.IPeopleShow(); Console.Read(); } } interface IAnimal { void IAnimal... 阅读全文
posted @ 2013-04-28 18:57 Predator 阅读(140) 评论(0) 推荐(0) 编辑
摘要: sing System;using System.Linq;using System.Runtime.InteropServices;namespace ConTest{ class Program { public EventHandler ContentViewActive = delegate { }; static void Main(string[] args) { Program p = new Program(); p.ContentViewActive += delegate { Console.WriteLine("Welcome"); Console.W 阅读全文
posted @ 2013-04-26 19:44 Predator 阅读(85) 评论(0) 推荐(0) 编辑
摘要: private static void ShowReverse(string t, int len) { int index = 0; int count = 0; string str = string.Empty; count = t.Length / len; for (int i = 0; i < len; i++) { str = string.Empty; index = i; for (int j = 0; j < count; j++) { str += t.Substring(index, 1); index += 5; } Console.WriteLine(s 阅读全文
posted @ 2013-04-26 19:43 Predator 阅读(194) 评论(0) 推荐(0) 编辑
上一页 1 ··· 39 40 41 42 43 44 45 46 47 ··· 63 下一页