討論串[問題] Class處理問題請教
共 4 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者petrushka (不放過自己)時間16年前 (2009/09/21 13:58), 編輯資訊
0
0
0
內容預覽:
這個是跟Reflection有關的問題. 我把我使用的Code貼上來分享吧. protected object LoadObject( string pClassName ). {. string[] names = pClassName.Split( new string[] { "," },.
(還有1191個字)

推噓0(0推 0噓 1→)留言1則,0人參與, 最新作者DearKurt ("小朋友"會自己找出路...)時間16年前 (2009/09/19 00:37), 編輯資訊
0
0
0
內容預覽:
public interface A. {. int Do(int A1, int A2);. }. public class Plus : A. {. public Plus(). { }. public int Do(int A1, int A2). {. return A1 + A2;. }.
(還有863個字)

推噓3(3推 0噓 0→)留言3則,0人參與, 最新作者j2se (吳浩然)時間16年前 (2009/09/17 22:42), 編輯資訊
0
0
0
內容預覽:
用static. public class MyClass01. {. static string str1 = String.Empty;. }. Default.aspx.cs. Response.Write(MyClass01.str1);. --. 發信站: 批踢踢實業坊(ptt.cc)

推噓3(3推 0噓 0→)留言3則,0人參與, 最新作者star1231 (不停留的腳步)時間16年前 (2009/09/17 22:38), 編輯資訊
0
0
0
內容預覽:
有個問題想問各位版大. C#中有沒有辦法以變數形式取得某Class. ex:. string classname="CLASSNAME". classname.property?. 有像這樣可用變數使用類別的方法嗎?. thanks. --------------------------------
(還有123個字)
首頁
上一頁
1
下一頁
尾頁