[問題] 請問一個方向

看板C_Sharp作者 (kuyaochu)時間17年前 (2008/06/16 23:50), 編輯推噓1(101)
留言2則, 2人參與, 最新討論串1/1
namespace Application { //The DataObject class stored with a key Class DataObject { //Populate } class Program { static Hashtable Dtat = new Hashtable(); stat string[] staticData = new string[] { "X-Ray", "Echo", "Alpha" }; static void Main (string[] args) { for(int i=0; StaticData.Length; i++) Data.Add(StaticData[i].ToLower(), new DataObject(StataicData[i])); while(true) { PrinSortedData(); Console.WriteLine(); Console.Write(">"); string str = Console.ReadLine(); string[] strs = str.Split(' '); if(strs[0]=='q') break; else if(strs[0]=="print") PrintSortedData(); -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 66.14.254.3

06/16 23:51, , 1F
小弟還沒打完 晚一點上來補打 謝謝
06/16 23:51, 1F

06/17 20:31, , 2F
用文字說明自己想法,再問方向
06/17 20:31, 2F
文章代碼(AID): #18Lel3pl (C_Sharp)